Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ abstract = st.text_area(label='Summary', height=150)
|
|
61 |
|
62 |
if st.button('Start classifier'):
|
63 |
if title == '' and abstract == '':
|
64 |
-
st.markdown("Summary and title
|
65 |
else:
|
66 |
prediction_classes, prediction_probs, probs = predict_label(title, abstract, tokenizer, model, inv_map)
|
67 |
|
|
|
61 |
|
62 |
if st.button('Start classifier'):
|
63 |
if title == '' and abstract == '':
|
64 |
+
st.markdown("Summary and title should be filled in in the text area above")
|
65 |
else:
|
66 |
prediction_classes, prediction_probs, probs = predict_label(title, abstract, tokenizer, model, inv_map)
|
67 |
|