achmaddhani commited on
Commit
0d88129
·
1 Parent(s): 589e0f2

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
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(X)
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