Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,11 @@ if choice == "Summarize Text":
|
|
38 |
input_text = st.text_area("Enter your text here")
|
39 |
if input_text is not None:
|
40 |
if st.button("Summarize Text"):
|
41 |
-
|
42 |
-
with
|
|
|
|
|
|
|
43 |
st.markdown("**Summary Result**")
|
44 |
result = text_summary(input_text, translate_fa)
|
45 |
st.success(result)
|
|
|
38 |
input_text = st.text_area("Enter your text here")
|
39 |
if input_text is not None:
|
40 |
if st.button("Summarize Text"):
|
41 |
+
col1, col2 = st.columns([1,1])
|
42 |
+
#with col1:
|
43 |
+
# st.markdown("**Your Input Text**")
|
44 |
+
# st.info(input_text)
|
45 |
+
with col2:
|
46 |
st.markdown("**Summary Result**")
|
47 |
result = text_summary(input_text, translate_fa)
|
48 |
st.success(result)
|