Spaces:
Runtime error
Runtime error
TheBerbex
commited on
Commit
Β·
6a9689e
1
Parent(s):
9e2cb0a
Test material
Browse files- app.py +1 -1
- car.jpg +0 -0
- carf.jpg +0 -0
- crash.jpg +0 -0
- crash2.jpg +0 -0
app.py
CHANGED
@@ -13,7 +13,7 @@ def image_classifier(img):
|
|
13 |
# image = gr.inputs.Image(shape=(192,192))
|
14 |
image = gr.components.Image(shape=(192,192))
|
15 |
label = gr.components.Label()
|
16 |
-
examples = ['./car.
|
17 |
|
18 |
intf = gr.Interface(fn= image_classifier,inputs=image,outputs=label,examples=examples)
|
19 |
intf.launch()
|
|
|
13 |
# image = gr.inputs.Image(shape=(192,192))
|
14 |
image = gr.components.Image(shape=(192,192))
|
15 |
label = gr.components.Label()
|
16 |
+
examples = ['./car.jpg','./crash.jpg','./carf.jpg', '/crash2.jpg']
|
17 |
|
18 |
intf = gr.Interface(fn= image_classifier,inputs=image,outputs=label,examples=examples)
|
19 |
intf.launch()
|
car.jpg
ADDED
![]() |
carf.jpg
ADDED
![]() |
crash.jpg
ADDED
![]() |
crash2.jpg
ADDED
![]() |