amirgame197 commited on
Commit
02d4707
·
verified ·
1 Parent(s): 44bd6e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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
- col = st.columns([1,1])
42
- with col:
 
 
 
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)