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
cfec665
CogSphere
/
acogsphere.py
CognitiveScience
Update acogsphere.py
c39cc72
about 1 year ago
raw
Copy download link
history
blame
Safe
185 Bytes
from
transformers
import
pipeline
classifier = pipeline(
"sentiment-analysis"
)
#, model="stevhliu/my_awesome_model")
def
acf
(
text1
):
acfresult=classifier(text1)
return
acfresult