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