Spaces:
Runtime error
Runtime error
Commit ·
ba3ade1
1
Parent(s): 32c220a
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,7 @@ title = "Pet Breed Classifier"
|
|
| 14 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai."
|
| 15 |
|
| 16 |
gr.Interface(
|
|
|
|
| 17 |
predict,
|
| 18 |
inputs=gr.inputs.Image(shape=(512, 512), label="Upload a cute pet", type="filepath"),
|
| 19 |
outputs=gr.outputs.Label(num_top_classes=3),
|
|
|
|
| 14 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai."
|
| 15 |
|
| 16 |
gr.Interface(
|
| 17 |
+
fn=greet,
|
| 18 |
predict,
|
| 19 |
inputs=gr.inputs.Image(shape=(512, 512), label="Upload a cute pet", type="filepath"),
|
| 20 |
outputs=gr.outputs.Label(num_top_classes=3),
|