Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Francesco
/
asddsadsa
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
asddsadsa
/
app.py
Francesco
Update app.py
1329589
about 2 years ago
raw
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()