Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
KyBen
/
test_space_2
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
KyBen
commited on
Jul 20, 2023
Commit
5eb2d52
·
1 Parent(s):
6484c57
Create Pipe1.py
Browse files
Files changed (1)
hide
show
Pipe1.py
+7
-0
Pipe1.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
from transformers import pipeline
2
+
3
+
classifier = pipeline("sentiment-analysis")
4
+
5
+
res = classifier("I've been waiting for a HuggingFace cours my whole life.")
6
+
7
+
print(res)