Update app.py
Browse files
app.py
CHANGED
|
@@ -56,8 +56,8 @@ def predict(new_sentence):
|
|
| 56 |
return pred
|
| 57 |
|
| 58 |
if text or aButton:
|
| 59 |
-
with
|
| 60 |
-
with
|
| 61 |
st.header(predict(text))
|
| 62 |
st.success("Prediction Successful!")
|
| 63 |
|
|
|
|
| 56 |
return pred
|
| 57 |
|
| 58 |
if text or aButton:
|
| 59 |
+
with col2:
|
| 60 |
+
with st.spinner('Wait for it...'):
|
| 61 |
st.header(predict(text))
|
| 62 |
st.success("Prediction Successful!")
|
| 63 |
|