Spaces:
Runtime error
Runtime error
Commit
·
7882ad8
1
Parent(s):
d587d17
Update app.py
Browse files
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.")
|