Spaces:
Runtime error
Runtime error
adding examples and title
Browse files- app.py +3 -1
- chihuahua.jpg +0 -0
- yorkie.jpg +0 -0
app.py
CHANGED
@@ -42,5 +42,7 @@ def classify_image(inp):
|
|
42 |
|
43 |
gr.Interface(fn=classify_image,
|
44 |
inputs=gr.Image(type="pil"),
|
45 |
-
outputs=gr.Label(num_top_classes=3)
|
|
|
|
|
46 |
).launch()
|
|
|
42 |
|
43 |
gr.Interface(fn=classify_image,
|
44 |
inputs=gr.Image(type="pil"),
|
45 |
+
outputs=gr.Label(num_top_classes=3),
|
46 |
+
title="Dog Image",
|
47 |
+
examples=['chihuahua.jpg', 'yorkie.jpg']
|
48 |
).launch()
|
chihuahua.jpg
ADDED
yorkie.jpg
ADDED