NimaKL commited on
Commit
23339c2
Β·
1 Parent(s): b6cfb6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -56,8 +56,10 @@ def predict(new_sentence):
56
  return pred
57
 
58
  if text or aButton:
59
- with col2:
60
- st.header(predict(text))
 
 
61
 
62
 
63
 
 
56
  return pred
57
 
58
  if text or aButton:
59
+ with st.spinner('Wait for it...'):
60
+ with col2:
61
+ st.header(predict(text))
62
+ st.success("Prediction Successful!")
63
 
64
 
65