Update app.py
Browse files
app.py
CHANGED
|
@@ -85,8 +85,8 @@ threshold = st.slider("Выберите cumulative probability threshold", 0.0,
|
|
| 85 |
|
| 86 |
if st.button("Submit"):
|
| 87 |
if title or abstract:
|
| 88 |
-
st.success(f"✅ Title
|
| 89 |
-
st.info(f"📑 Abstract
|
| 90 |
themes, probs = inference(title, abstract, threshold)
|
| 91 |
st.subheader("Predicted Themes:")
|
| 92 |
for i in range(len(themes)):
|
|
|
|
| 85 |
|
| 86 |
if st.button("Submit"):
|
| 87 |
if title or abstract:
|
| 88 |
+
st.success(f"✅ Title")
|
| 89 |
+
st.info(f"📑 Abstract")
|
| 90 |
themes, probs = inference(title, abstract, threshold)
|
| 91 |
st.subheader("Predicted Themes:")
|
| 92 |
for i in range(len(themes)):
|