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