Update app.py
Browse files
app.py
CHANGED
@@ -403,11 +403,11 @@ if url_text:
|
|
403 |
|
404 |
elif plain_text:
|
405 |
article_title, cleaned_text = clean_text(plain_text,plain_text=True)
|
406 |
-
st.session_state.text_area = cleaned_text
|
407 |
|
408 |
elif upload_doc:
|
409 |
article_title, cleaned_text = clean_text(upload_doc,doc=True)
|
410 |
-
st.session_state.text_area = cleaned_text
|
411 |
|
412 |
article_text = st.text_area(
|
413 |
label='Full Article Text',
|
|
|
403 |
|
404 |
elif plain_text:
|
405 |
article_title, cleaned_text = clean_text(plain_text,plain_text=True)
|
406 |
+
st.session_state.text_area = ''.join(cleaned_text)
|
407 |
|
408 |
elif upload_doc:
|
409 |
article_title, cleaned_text = clean_text(upload_doc,doc=True)
|
410 |
+
st.session_state.text_area = ''.join(cleaned_text)
|
411 |
|
412 |
article_text = st.text_area(
|
413 |
label='Full Article Text',
|