Spaces:
Runtime error
Runtime error
Commit ·
8804f90
1
Parent(s): 0fb1f2c
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,5 +16,5 @@ def predict(img):
|
|
| 16 |
title = "Pet Breed Classifier"
|
| 17 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
| 18 |
|
| 19 |
-
iface = gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description)
|
| 20 |
iface.launch()
|
|
|
|
| 16 |
title = "Pet Breed Classifier"
|
| 17 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
| 18 |
|
| 19 |
+
iface = gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description, examples = ['siamese.jpg'])
|
| 20 |
iface.launch()
|