piecurus commited on
Commit
533edf6
1 Parent(s): 35bbf92

Update app.py

Browse files

removed #if uploaded_file:

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,9 +38,9 @@ if __name__ == "__main__":
38
  "Upload a .txt, .pdf, .docx file for summarization"
39
  )
40
 
41
- if uploaded_file:
42
- clean_txt = read_text_from_file(uploaded_file)
43
- clean_txt = clean_text(clean_txt)
44
 
45
  # view summarized text (expander)
46
  with st.expander("View input text"):
 
38
  "Upload a .txt, .pdf, .docx file for summarization"
39
  )
40
 
41
+ #if uploaded_file:
42
+ clean_txt = read_text_from_file(uploaded_file)
43
+ clean_txt = clean_text(clean_txt)
44
 
45
  # view summarized text (expander)
46
  with st.expander("View input text"):