Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
sonobit
/
m31space1
like
0
Sleeping
App
Files
Files
Community
main
m31space1
/
app.py
sonobit
Update app.py
0e3d5d5
over 1 year ago
raw
history
blame
contribute
delete
No virus
209 Bytes
import
gradio
as
gr
gr.Interface(fn=classify_image,
inputs=gr.Image(shape=(
224
,
224
)),
outputs=gr.Label(num_top_classes=
3
),
examples=[
"banana.jpg"
,
"car.jpg"
]).launch()