Spaces:
Runtime error
Runtime error
TheBerbex
commited on
Commit
Β·
dce65c7
1
Parent(s):
6a9689e
Deleted no valid image test
Browse files
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.jpg','./crash.jpg','./carf.jpg'
|
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']
|
17 |
|
18 |
intf = gr.Interface(fn= image_classifier,inputs=image,outputs=label,examples=examples)
|
19 |
intf.launch()
|