achmaddhani commited on
Commit
f47fcdd
·
1 Parent(s): 0f54ff2

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