amirgame197 commited on
Commit
38d539e
·
verified ·
1 Parent(s): e5065c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ choice = st.sidebar.selectbox("Select your choice", ["Summarize Text", "Summariz
28
  translate_fa = st.toggle('Translate to Persian', value=True)
29
 
30
  if choice == "Summarize Text":
31
- st.subheader("Summarize Text using txtai")
32
  input_text = st.text_area("Enter your text here")
33
  if input_text is not None:
34
  if st.button("Summarize Text"):
@@ -42,7 +42,7 @@ if choice == "Summarize Text":
42
  st.success(result)
43
 
44
  elif choice == "Summarize Document":
45
- st.subheader("Summarize Document using txtai")
46
  input_file = st.file_uploader("Upload your document here", type=['pdf'])
47
  if input_file is not None:
48
  if st.button("Summarize Document"):
 
28
  translate_fa = st.toggle('Translate to Persian', value=True)
29
 
30
  if choice == "Summarize Text":
31
+ st.subheader("Summarize Text")
32
  input_text = st.text_area("Enter your text here")
33
  if input_text is not None:
34
  if st.button("Summarize Text"):
 
42
  st.success(result)
43
 
44
  elif choice == "Summarize Document":
45
+ st.subheader("Summarize Document")
46
  input_file = st.file_uploader("Upload your document here", type=['pdf'])
47
  if input_file is not None:
48
  if st.button("Summarize Document"):