Akshayram1 commited on
Commit
3277f8e
·
verified ·
1 Parent(s): 155fbc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3,8 +3,8 @@ from diff_match_patch import diff_match_patch # Import from local file
3
  import re
4
 
5
  def main():
6
- st.set_page_config(page_title="Prompt Comparison Tool", layout="wide")
7
- st.title("Prompt Comparison Tool")
8
 
9
  # Initialize session state
10
  if 'old_text' not in st.session_state:
@@ -19,7 +19,7 @@ def main():
19
 
20
  with col1:
21
  st.session_state.old_text = st.text_area(
22
- "Old Prompt:",
23
  height=300,
24
  value=st.session_state.old_text,
25
  placeholder="Enter original text..."
@@ -27,7 +27,7 @@ def main():
27
 
28
  with col2:
29
  st.session_state.new_text = st.text_area(
30
- "New Prompt:",
31
  height=300,
32
  value=st.session_state.new_text,
33
  placeholder="Enter modified text..."
 
3
  import re
4
 
5
  def main():
6
+ st.set_page_config(page_title="Text Comparison Tool", layout="wide")
7
+ st.title("Text Comparison Tool")
8
 
9
  # Initialize session state
10
  if 'old_text' not in st.session_state:
 
19
 
20
  with col1:
21
  st.session_state.old_text = st.text_area(
22
+ "Old Text:",
23
  height=300,
24
  value=st.session_state.old_text,
25
  placeholder="Enter original text..."
 
27
 
28
  with col2:
29
  st.session_state.new_text = st.text_area(
30
+ "New Text:",
31
  height=300,
32
  value=st.session_state.new_text,
33
  placeholder="Enter modified text..."