ravvasanthosh commited on
Commit
5d21dbd
·
verified ·
1 Parent(s): 791512c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ if stl.button('click for accuracy'):
20
  stl.write(accuracy_score(y_test,y_pred))
21
  str = stl.text_input('enter text')
22
  if stl.button('click to check'):
23
- if model1.predict([str]) == 'sad':
24
  stl.write('sad ☹️')
25
  elif model1.predict([str]) == 'angry':
26
  stl.write('anger 😡')
 
20
  stl.write(accuracy_score(y_test,y_pred))
21
  str = stl.text_input('enter text')
22
  if stl.button('click to check'):
23
+ if model1.predict([str]) == 'sad':
24
  stl.write('sad ☹️')
25
  elif model1.predict([str]) == 'angry':
26
  stl.write('anger 😡')