Update app.py
Browse files
app.py
CHANGED
@@ -24,16 +24,13 @@ def classify_image(img):
|
|
24 |
#/export
|
25 |
image = gr.inputs.Image(shape=(192,192))
|
26 |
label = gr.outputs.Label()
|
27 |
-
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 |
inputs=image,
|
33 |
outputs=label,
|
34 |
examples=examples,
|
35 |
-
title = '
|
36 |
-
description = "A cat vs
|
37 |
iface.launch(inline=False)
|
38 |
|
39 |
|
|
|
24 |
#/export
|
25 |
image = gr.inputs.Image(shape=(192,192))
|
26 |
label = gr.outputs.Label()
|
|
|
|
|
|
|
27 |
|
28 |
iface = gr.Interface(fn=classify_image,
|
29 |
inputs=image,
|
30 |
outputs=label,
|
31 |
examples=examples,
|
32 |
+
title = 'Simple Image 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 |
|