amirgame197 commited on
Commit
e5065c4
·
verified ·
1 Parent(s): 9fb2676

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def extract_text_from_pdf(file_path):
25
  return text
26
 
27
  choice = st.sidebar.selectbox("Select your choice", ["Summarize Text", "Summarize Document"])
28
- translate_fa = st.toggle('Translate to Persian')
29
 
30
  if choice == "Summarize Text":
31
  st.subheader("Summarize Text using txtai")
 
25
  return text
26
 
27
  choice = st.sidebar.selectbox("Select your choice", ["Summarize Text", "Summarize Document"])
28
+ translate_fa = st.toggle('Translate to Persian', value=True)
29
 
30
  if choice == "Summarize Text":
31
  st.subheader("Summarize Text using txtai")