Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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")
|