TovaHasi commited on
Commit
43a8fb9
1 Parent(s): 33a0112

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 are empty")
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