fix cats and dogs
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def classify_image(img):
|
|
| 28 |
image = gr.Image(height=192, width=192)
|
| 29 |
label = gr.Label()
|
| 30 |
# label = gr.outputs.Label()
|
| 31 |
-
examples = ['dog1.jpeg', 'dog2.jpeg', 'dog3.jpeg']
|
| 32 |
|
| 33 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 34 |
intf.launch(inline=False)
|
|
|
|
| 28 |
image = gr.Image(height=192, width=192)
|
| 29 |
label = gr.Label()
|
| 30 |
# label = gr.outputs.Label()
|
| 31 |
+
examples = ['dog1.jpeg', 'dog2.jpeg', 'dog3.jpeg','cat.jpg']
|
| 32 |
|
| 33 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 34 |
intf.launch(inline=False)
|