Update app.py
Browse files
app.py
CHANGED
@@ -58,8 +58,8 @@ if st.button('Load Model', disabled=False):
|
|
58 |
pred = 'Predicted Class: '+ prediction
|
59 |
return pred
|
60 |
flag = False
|
61 |
-
text(disabled=flag)
|
62 |
-
aButton(disabled=flag)
|
63 |
if not flag:
|
64 |
with col2:
|
65 |
if text or aButton:
|
|
|
58 |
pred = 'Predicted Class: '+ prediction
|
59 |
return pred
|
60 |
flag = False
|
61 |
+
text = st.text_input("Enter the text you'd like to analyze for spam.", disabled=flag)
|
62 |
+
aButton = st.button('Analyze', disabled=flag)
|
63 |
if not flag:
|
64 |
with col2:
|
65 |
if text or aButton:
|