Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
rebase
/
hello_python
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
52a7e5e
hello_python
/
app.py
rebase
Update app.py
52a7e5e
about 3 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
227 Bytes
import
gradio
as
gr
from
datasets
import
load_dataset
dataset = load_dataset(
"rebase/ello"
)
def
image_classifier
(
inp
):
return
dataset
demo = gr.Interface(fn=image_classifier, inputs=
"text"
, outputs=
"text"
)
demo.launch()