Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
β’
9cf59ea
1
Parent(s):
88222e4
Rename textsentiment.py to acogsphere.py
Browse files
textsentiment.py β acogsphere.py
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
classifier = pipeline("sentiment-analysis") #, model="stevhliu/my_awesome_model")
|
4 |
-
def
|
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 acogsphere(text1):
|
5 |
result1=classifier(text1)
|
6 |
return result1
|