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:
Samzokah
/
EzyE
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
EzyE
/
app.py
Samzokah
Update app.py
d2db78a
almost 3 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
179 Bytes
import
gradio
as
gr
from
transformers
import
pipeline
pipe = pipeline(
'sentiment-analysis'
)
text = gr.TextArea(
'enter some text!'
)
if
text:
out = pipe(text)
gr.json(out)