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:
queelius
/
test
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
test
/
app.old
queelius
updates
feb9889
over 2 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
173 Bytes
import gradio
as
gr
def image
_classifier(
inp
)
:
return {'cat':
0.3
, 'dog':
0.7
}
demo = gr.
Interface(
fn
=
image_classifier
,
inputs
=
"image"
,
outputs
=
"label"
)
demo.launch
()