Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
mmcw23-p
/
Project
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Project
/
app.py
mmcw23-p
Update app.py
8e5a110
about 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
159 Bytes
from
transformers
import
pipeline
import
torch
import
torch.nn.functional
as
F
classifier = pipeline(
"sentiment-analysis"
)
res= classifier(
"test"
)
print
(res)