sm2899 commited on
Commit
1553f68
1 Parent(s): 189f2e0

Update sentiment-analyser.py

Browse files
Files changed (1) hide show
  1. sentiment-analyser.py +1 -0
sentiment-analyser.py CHANGED
@@ -19,6 +19,7 @@ def classification(user_input, type):
19
  result = classifier(user_input)[0]
20
  return result
21
 
 
22
  if submit:
23
  resultf = classification(user_input, model_type)
24
  label = resultf['label']
 
19
  result = classifier(user_input)[0]
20
  return result
21
 
22
+
23
  if submit:
24
  resultf = classification(user_input, model_type)
25
  label = resultf['label']