Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
7a75335
1
Parent(s):
af354c2
Update textsentiment
Browse files- textsentiment +1 -1
textsentiment
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
classifier = pipeline("sentiment-analysis", model="stevhliu/my_awesome_model")
|
4 |
-
classifier(
|
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
classifier = pipeline("sentiment-analysis", model="stevhliu/my_awesome_model")
|
4 |
+
print (classifier("hello world"))
|