Update app.py
Browse files
app.py
CHANGED
@@ -455,10 +455,10 @@ upload_doc = st.file_uploader(
|
|
455 |
)
|
456 |
|
457 |
if plain_text:
|
458 |
-
|
459 |
|
460 |
elif upload_doc:
|
461 |
-
|
462 |
|
463 |
summarize = st.button("Summarize")
|
464 |
|
|
|
455 |
)
|
456 |
|
457 |
if plain_text:
|
458 |
+
_, clean_text = clean_text(plain_text,plain_text=True)
|
459 |
|
460 |
elif upload_doc:
|
461 |
+
_, clean_text = clean_text(plain_text,doc=True)
|
462 |
|
463 |
summarize = st.button("Summarize")
|
464 |
|