Priyanka-Kumavat-At-TE commited on
Commit
7882ad8
·
1 Parent(s): d587d17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def main():
137
  if st.button("Predict"):
138
  # Call the predict method of the MarkovChainClassifier instance
139
  pred = model.predict()
140
- if pred == T:
141
  st.write("Prediction: Visitor is likely to convert into a customer.")
142
  else:
143
  st.write("Prediction: Visitor is unlikely to convert into a customer.")
 
137
  if st.button("Predict"):
138
  # Call the predict method of the MarkovChainClassifier instance
139
  pred = model.predict()
140
+ if pred == 'T':
141
  st.write("Prediction: Visitor is likely to convert into a customer.")
142
  else:
143
  st.write("Prediction: Visitor is unlikely to convert into a customer.")