Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def main():
|
|
121 |
st.subheader('User Input:')
|
122 |
st.write(user_input)
|
123 |
|
124 |
-
|
125 |
|
126 |
st.subheader('Prediction:')
|
127 |
if prediction_proba[0] < 0.5:
|
|
|
121 |
st.subheader('User Input:')
|
122 |
st.write(user_input)
|
123 |
|
124 |
+
prediction_proba = model.predict(user_input)
|
125 |
|
126 |
st.subheader('Prediction:')
|
127 |
if prediction_proba[0] < 0.5:
|