Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
·
9b20377
1
Parent(s):
71dbb5a
Update acogsphere.py
Browse files- acogsphere.py +1 -1
acogsphere.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
-
classifier = pipeline("sentiment-analysis"
|
4 |
def acf(text1):
|
5 |
acfresult=classifier(text1)
|
6 |
return acfresult
|
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
+
classifier = pipeline("sentiment-analysis") #, model="stevhliu/my_awesome_model")
|
4 |
def acf(text1):
|
5 |
acfresult=classifier(text1)
|
6 |
return acfresult
|