Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -54,18 +54,12 @@ st.image(image)
|
|
54 |
st.markdown("# ")
|
55 |
|
56 |
st.markdown("### Article Title")
|
57 |
-
|
58 |
|
59 |
st.markdown("### Article Abstract")
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
if
|
64 |
-
|
65 |
-
elif text == "":
|
66 |
-
st.write("var2")
|
67 |
-
else:
|
68 |
-
st.write("other variant")
|
69 |
-
st.write(text)
|
70 |
-
make_prediction(text)
|
71 |
|
|
|
54 |
st.markdown("# ")
|
55 |
|
56 |
st.markdown("### Article Title")
|
57 |
+
text1 = st.text_area("Введите название научной статьи для классификации", height=20)
|
58 |
|
59 |
st.markdown("### Article Abstract")
|
60 |
|
61 |
+
text2 = st.text_area("Введите описание статьи", height=200)
|
62 |
+
common_text = text1 + text2:
|
63 |
+
if common_text != "":
|
64 |
+
make_prediction(common_text)
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|