move examples
Browse files- app.py +3 -2
- Bengal_102.jpg β examples/Bengal_102.jpg +0 -0
- Sphynx_143.jpg β examples/Sphynx_143.jpg +0 -0
- chihuahua_43.jpg β examples/chihuahua_43.jpg +0 -0
- english_setter_15.jpg β examples/english_setter_15.jpg +0 -0
- havanese_129.jpg β examples/havanese_129.jpg +0 -0
- japanese_chin_83.jpg β examples/japanese_chin_83.jpg +0 -0
app.py
CHANGED
@@ -20,6 +20,7 @@ def classify_image(img):
|
|
20 |
|
21 |
image = gr.inputs.Image(shape=(192, 192))
|
22 |
label = gr.outputs.Label()
|
23 |
-
examples =
|
24 |
-
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label,
|
|
|
25 |
intf.launch()
|
|
|
20 |
|
21 |
image = gr.inputs.Image(shape=(192, 192))
|
22 |
label = gr.outputs.Label()
|
23 |
+
examples = "examples"
|
24 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label,
|
25 |
+
examples=examples)
|
26 |
intf.launch()
|
Bengal_102.jpg β examples/Bengal_102.jpg
RENAMED
File without changes
|
Sphynx_143.jpg β examples/Sphynx_143.jpg
RENAMED
File without changes
|
chihuahua_43.jpg β examples/chihuahua_43.jpg
RENAMED
File without changes
|
english_setter_15.jpg β examples/english_setter_15.jpg
RENAMED
File without changes
|
havanese_129.jpg β examples/havanese_129.jpg
RENAMED
File without changes
|
japanese_chin_83.jpg β examples/japanese_chin_83.jpg
RENAMED
File without changes
|