Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -60,6 +60,12 @@ st.markdown("### Article Abstract")
|
|
60 |
|
61 |
text = st.text_area("Введите описание статьи", height=200)
|
62 |
st.write("beginning")
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
st.write(text)
|
64 |
make_prediction(text)
|
65 |
|
|
|
60 |
|
61 |
text = st.text_area("Введите описание статьи", height=200)
|
62 |
st.write("beginning")
|
63 |
+
if text is None:
|
64 |
+
st.write("var1")
|
65 |
+
else if text == "":
|
66 |
+
st.write("var2")
|
67 |
+
else
|
68 |
+
st.write("other variant")
|
69 |
st.write(text)
|
70 |
make_prediction(text)
|
71 |
|