Update app.py
Browse files
app.py
CHANGED
@@ -433,9 +433,11 @@ upload_doc = st.file_uploader(
|
|
433 |
|
434 |
if plain_text:
|
435 |
_, cleaned_text = clean_text(plain_text,plain_text=True)
|
|
|
436 |
|
437 |
elif upload_doc:
|
438 |
_, cleaned_text = clean_text(plain_text,doc=True)
|
|
|
439 |
|
440 |
summarize = st.button("Summarize")
|
441 |
|
|
|
433 |
|
434 |
if plain_text:
|
435 |
_, cleaned_text = clean_text(plain_text,plain_text=True)
|
436 |
+
st.session_state.text_area = cleaned_text[0]
|
437 |
|
438 |
elif upload_doc:
|
439 |
_, cleaned_text = clean_text(plain_text,doc=True)
|
440 |
+
st.session_state.text_area = cleaned_text[0]
|
441 |
|
442 |
summarize = st.button("Summarize")
|
443 |
|