Mr-TD commited on
Commit
03b49d5
·
verified ·
1 Parent(s): 7a002a8

Update logic of the container

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -72,14 +72,16 @@ option = st.selectbox(
72
  summary_output = "Deafualt"
73
  col1, col2 = st.columns(2)
74
 
75
- col1.title('Input')
 
 
76
  col1.container(height=500, border=True).text_area("", option, height=1000)
77
  if col1.button("Summarize"):
78
  with st.spinner('Wait for it...'):
79
  print("Summary Function Start", summary_output)
80
  summary_output = summarize_text(option)
81
  print("Summary Function End", summary_output)
 
 
82
 
83
- col2.title('Output')
84
- col2.container(height=500, border=True).markdown(summary_output, unsafe_allow_html=True)
85
 
 
72
  summary_output = "Deafualt"
73
  col1, col2 = st.columns(2)
74
 
75
+ col1.title('Input')
76
+ col2.title('Output')
77
+
78
  col1.container(height=500, border=True).text_area("", option, height=1000)
79
  if col1.button("Summarize"):
80
  with st.spinner('Wait for it...'):
81
  print("Summary Function Start", summary_output)
82
  summary_output = summarize_text(option)
83
  print("Summary Function End", summary_output)
84
+ col2.container(height=500, border=True).markdown(summary_output, unsafe_allow_html=True)
85
+
86
 
 
 
87