Spaces:
Running
Running
Alexey Kalinin
commited on
Commit
·
a8cb422
1
Parent(s):
756780e
add no abstracat case
Browse files
app.py
CHANGED
@@ -36,8 +36,8 @@ elif input_method == "Manual Input":
|
|
36 |
title = st.text_input("Enter Article Title:")
|
37 |
abstract = st.text_area("Enter Article Abstract:")
|
38 |
if st.button("Classify"):
|
39 |
-
if not title
|
40 |
-
st.error("Please provide
|
41 |
|
42 |
# Classification and output
|
43 |
if title and abstract:
|
|
|
36 |
title = st.text_input("Enter Article Title:")
|
37 |
abstract = st.text_area("Enter Article Abstract:")
|
38 |
if st.button("Classify"):
|
39 |
+
if not title:
|
40 |
+
st.error("Please provide title")
|
41 |
|
42 |
# Classification and output
|
43 |
if title and abstract:
|