updated the app
Browse files
app.py
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
-
# %%
|
2 |
-
title = "Pet Breed Classifier"
|
3 |
-
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace spaces."
|
4 |
-
|
5 |
# %%
|
6 |
#/default_exp app
|
7 |
|
@@ -31,6 +27,8 @@ classify_image('dog.jpeg')
|
|
31 |
#/export
|
32 |
image = gr.inputs.Image(shape=(192,192))
|
33 |
label = gr.outputs.Label()
|
|
|
|
|
34 |
examples = ['dog.jpeg','cat.jpeg', 'dunno.jpeg']
|
35 |
|
36 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label,examples=examples)
|
|
|
|
|
|
|
|
|
|
|
1 |
# %%
|
2 |
#/default_exp app
|
3 |
|
|
|
27 |
#/export
|
28 |
image = gr.inputs.Image(shape=(192,192))
|
29 |
label = gr.outputs.Label()
|
30 |
+
title = "Pet Breed Classifier"
|
31 |
+
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace spaces."
|
32 |
examples = ['dog.jpeg','cat.jpeg', 'dunno.jpeg']
|
33 |
|
34 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label,examples=examples)
|