NimaKL commited on
Commit
9800197
Β·
1 Parent(s): d826a61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -58,8 +58,7 @@ if st.button('Load Model', disabled=False):
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, key="2")
62
- aButton = st.button('Analyze', disabled=flag, key="2")
63
  if not flag:
64
  with col2:
65
  if text or aButton:
 
58
  pred = 'Predicted Class: '+ prediction
59
  return pred
60
  flag = False
61
+ aButton.disable=False
 
62
  if not flag:
63
  with col2:
64
  if text or aButton: