Update app.py
Browse files
app.py
CHANGED
@@ -405,7 +405,7 @@ if plain_text:
|
|
405 |
st.session_state.text_area = cleaned_text[0]
|
406 |
|
407 |
elif upload_doc:
|
408 |
-
_, cleaned_text = clean_text(
|
409 |
st.session_state.text_area = cleaned_text[0]
|
410 |
|
411 |
summarize = st.button("Summarize")
|
|
|
405 |
st.session_state.text_area = cleaned_text[0]
|
406 |
|
407 |
elif upload_doc:
|
408 |
+
_, cleaned_text = clean_text(upload_doc,doc=True)
|
409 |
st.session_state.text_area = cleaned_text[0]
|
410 |
|
411 |
summarize = st.button("Summarize")
|