Spaces:
Sleeping
Sleeping
Commit ·
f47fcdd
1
Parent(s): 0f54ff2
Update model.py
Browse files
model.py
CHANGED
|
@@ -37,6 +37,6 @@ def run():
|
|
| 37 |
# button
|
| 38 |
if st.button(label='Predict'):
|
| 39 |
X= preprocess_text(user_input)
|
| 40 |
-
result= prediction(
|
| 41 |
st.write(result)
|
| 42 |
|
|
|
|
| 37 |
# button
|
| 38 |
if st.button(label='Predict'):
|
| 39 |
X= preprocess_text(user_input)
|
| 40 |
+
result= prediction(X)
|
| 41 |
st.write(result)
|
| 42 |
|