Spaces:
Runtime error
Runtime error
Commit
•
4382b1c
1
Parent(s):
f56b4fd
Update app.py
Browse files
app.py
CHANGED
@@ -45,5 +45,5 @@ abstract = st.text_area("Write article abstract:", height=60)
|
|
45 |
|
46 |
input_text = title + " " + abstract
|
47 |
|
48 |
-
if input_text != "":
|
49 |
predict_topic_by_title_and_abstract(input_text)
|
|
|
45 |
|
46 |
input_text = title + " " + abstract
|
47 |
|
48 |
+
if input_text != " ":
|
49 |
predict_topic_by_title_and_abstract(input_text)
|