CognitiveScience commited on
Commit
c39cc72
1 Parent(s): d8a07a3

Update acogsphere.py

Browse files
Files changed (1) hide show
  1. acogsphere.py +3 -3
acogsphere.py CHANGED
@@ -1,6 +1,6 @@
1
  from transformers import pipeline
2
 
3
  classifier = pipeline("sentiment-analysis") #, model="stevhliu/my_awesome_model")
4
- def acogsphere(text1):
5
- result1=classifier(text1)
6
- return result1
 
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