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
c1a4dbd
CogSphere
/
textsentiment
CognitiveScience
Create textsentiment
c1a4dbd
11 months ago
raw
Copy download link
history
blame
No virus
130 Bytes
from transformers import pipeline
classifier =
pipeline
(
"sentiment-analysis"
, model=
"stevhliu/my_awesome_model"
)
classifier
(text)