Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
CognitiveScience
/
CogSphere
like
0
Runtime error
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
c1a4dbd
CogSphere
/
textsentiment
CognitiveScience
Create textsentiment
c1a4dbd
over 1 year ago
raw
Copy download link
history
blame
Safe
130 Bytes
from transformers import pipeline
classifier =
pipeline
(
"sentiment-analysis"
, model=
"stevhliu/my_awesome_model"
)
classifier
(text)