CognitiveScience commited on
Commit
7a75335
1 Parent(s): af354c2

Update textsentiment

Browse files
Files changed (1) hide show
  1. 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(text)
 
1
  from transformers import pipeline
2
 
3
  classifier = pipeline("sentiment-analysis", model="stevhliu/my_awesome_model")
4
+ print (classifier("hello world"))