nickmuchi commited on
Commit
0ad49eb
1 Parent(s): f62861c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(plain_text,doc=True)
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")