Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
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:
Jayod
/
FirstApp
Like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Jayod
commited on
May 9, 2023
Commit
16d618d
·
1 Parent(s):
72d83c9
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+3
-0
app.py
CHANGED
Viewed
@@ -0,0 +1,3 @@
1
+
from transformers import pipeline
2
+
classifier = pipeline("sentiment-analysis", model="michellejieli/NSFW_text_classification")
3
+
classifier("I see you’ve set aside this special time to humiliate yourself in public.")