NimaKL commited on
Commit
c2a9a4d
Β·
1 Parent(s): 3ab2ec3

Update app.py

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