Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
sonobit
/
m31space1
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
m31space1
/
app.py
sonobit
Update app.py
0e3d5d5
almost 3 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
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()