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

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +2 -1
model.py CHANGED
@@ -37,5 +37,6 @@ def run():
37
  # button
38
  if st.button(label='Predict'):
39
  X= preprocess_text(user_input)
40
- prediction([X])
 
41
 
 
37
  # button
38
  if st.button(label='Predict'):
39
  X= preprocess_text(user_input)
40
+ result= prediction([X])
41
+ st.write(result)
42