Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
CognitiveScience
/
CogSphere
like
0
Runtime error
App
Files
Files
Community
2
fa6ddf9
CogSphere
/
acogsphere.py
CognitiveScience
Rename textsentiment.py to acogsphere.py
9cf59ea
about 1 year ago
raw
Copy download link
history
blame
Safe
188 Bytes
from
transformers
import
pipeline
classifier = pipeline(
"sentiment-analysis"
)
#, model="stevhliu/my_awesome_model")
def
acogsphere
(
text1
):
result1=classifier(text1)
return
result1