Update app.py
Browse files
app.py
CHANGED
|
@@ -28,9 +28,12 @@ title = "Pet Breed Classifier"
|
|
| 28 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace spaces."
|
| 29 |
examples = ['dog.jpeg','cat.jpeg','dunno.jpeg']
|
| 30 |
|
| 31 |
-
iface = gr.Interface(fn=classify_image,
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
| 34 |
iface.launch(inline=False)
|
| 35 |
|
| 36 |
|
|
|
|
| 28 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace spaces."
|
| 29 |
examples = ['dog.jpeg','cat.jpeg','dunno.jpeg']
|
| 30 |
|
| 31 |
+
iface = gr.Interface(fn=classify_image,
|
| 32 |
+
inputs=image,
|
| 33 |
+
outputs=label,
|
| 34 |
+
examples=examples,
|
| 35 |
+
title = 'Pet Breed Classifier',
|
| 36 |
+
description = "A cat vs. dog classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace spaces.")
|
| 37 |
iface.launch(inline=False)
|
| 38 |
|
| 39 |
|