Gladiator commited on
Commit
c7f821c
1 Parent(s): 015350f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ if __name__ == "__main__":
45
  text, clean_txt = fetch_article_text(url=inp_text)
46
  elif uploaded_file:
47
  clean_txt = read_text_from_file(uploaded_file)
48
- clean_txt = clean_text(inp_text)
49
  else:
50
  clean_txt = clean_text(inp_text)
51
 
 
45
  text, clean_txt = fetch_article_text(url=inp_text)
46
  elif uploaded_file:
47
  clean_txt = read_text_from_file(uploaded_file)
48
+ clean_txt = clean_text(clean_txt)
49
  else:
50
  clean_txt = clean_text(inp_text)
51