Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,10 @@ def predict(new_sentence):
|
|
56 |
return pred
|
57 |
|
58 |
if text or aButton:
|
59 |
-
with
|
60 |
-
|
|
|
|
|
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 |
|