eagle0504 commited on
Commit
8f6fd08
·
verified ·
1 Parent(s): ced194f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -76,8 +76,8 @@ with st.sidebar:
76
  st.json(result_dict)
77
 
78
  # Display cleaned-up body (text extracted from JSON) in the sidebar inside an expander (default not expanded)
79
- with st.expander("View Cleaned-up Text", expanded=False):
80
- st.text(cleaned_up_body)
81
 
82
  # Add some space at the bottom of the sidebar before the "Clear Session" button
83
  st.sidebar.markdown("<br><br><br><br>", unsafe_allow_html=True)
 
76
  st.json(result_dict)
77
 
78
  # Display cleaned-up body (text extracted from JSON) in the sidebar inside an expander (default not expanded)
79
+ with st.expander("View Cleaned-up Text", expanded=True):
80
+ st.text_area("Cleaned-up Text", cleaned_up_body, height=200, key="cleaned_text_area", help="Drag the bottom right corner to resize")
81
 
82
  # Add some space at the bottom of the sidebar before the "Clear Session" button
83
  st.sidebar.markdown("<br><br><br><br>", unsafe_allow_html=True)