Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,9 @@ 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 |
-
|
32 |
-
|
|
|
|
|
33 |
|
34 |
|
|
|
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, inputs=image, outputs=label,examples=examples,
|
32 |
+
title = 'Pet Breed Classifier'
|
33 |
+
description = 'A cat vs. dog classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace spaces.')
|
34 |
+
iface.launch(inline=False)
|
35 |
|
36 |
|