nickmuchi commited on
Commit
43f270e
1 Parent(s): 82a9342

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -394,11 +394,11 @@ if url_text:
394
  st.session_state.text_area = cleaned_text[0]
395
 
396
  elif plain_text:
397
- _, cleaned_text = clean_text(plain_text,plain_text=True)
398
  st.session_state.text_area = cleaned_text[0]
399
 
400
  elif upload_doc:
401
- _, cleaned_text = clean_text(upload_doc,doc=True)
402
  st.session_state.text_area = cleaned_text[0]
403
 
404
  article_text = st.text_area(
 
394
  st.session_state.text_area = cleaned_text[0]
395
 
396
  elif plain_text:
397
+ article_title, cleaned_text = clean_text(plain_text,plain_text=True)
398
  st.session_state.text_area = cleaned_text[0]
399
 
400
  elif upload_doc:
401
+ article_title, cleaned_text = clean_text(upload_doc,doc=True)
402
  st.session_state.text_area = cleaned_text[0]
403
 
404
  article_text = st.text_area(