Spaces:
Runtime error
Runtime error
Update sentiment-analyser.py
Browse files- 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']
|