Spaces:
Sleeping
Sleeping
修改:图片名称
Browse files- app.py +1 -1
- 0.jpg → img_0.jpg +0 -0
- 1.jpg → img_1.jpg +0 -0
- 2.jpg → img_2.jpg +0 -0
- 4.jpg → img_4.jpg +0 -0
- 7.jpg → img_7.jpg +0 -0
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def classify_image(img):
|
|
| 15 |
|
| 16 |
image = gr.inputs.Image(shape=(28,28))
|
| 17 |
label = gr.outputs.Label()
|
| 18 |
-
examples = ['
|
| 19 |
|
| 20 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 21 |
intf.launch(inline=False)
|
|
|
|
| 15 |
|
| 16 |
image = gr.inputs.Image(shape=(28,28))
|
| 17 |
label = gr.outputs.Label()
|
| 18 |
+
examples = ['img_0.jpg', 'img_1.jpg', 'img_2.jpg', 'img_4.jpg', 'img_7.jpg']
|
| 19 |
|
| 20 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 21 |
intf.launch(inline=False)
|
0.jpg → img_0.jpg
RENAMED
|
File without changes
|
1.jpg → img_1.jpg
RENAMED
|
File without changes
|
2.jpg → img_2.jpg
RENAMED
|
File without changes
|
4.jpg → img_4.jpg
RENAMED
|
File without changes
|
7.jpg → img_7.jpg
RENAMED
|
File without changes
|