nickmuchi commited on
Commit
00822cc
1 Parent(s): 914a677

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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[0]
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',