Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Francesco
/
asddsadsa
like
0
Running
App
Files
Files
Community
a2e65ea
asddsadsa
/
app.py
Francesco
Update app.py
a2e65ea
almost 2 years ago
raw
Copy download link
history
blame
Safe
176 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()
asd