Spaces:
Runtime error
Runtime error
fix bug
Browse files
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(
|
| 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 |
|