Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,7 @@ def classify_image(img):
|
|
14 |
|
15 |
image = gr.inputs.Image(shape=(192, 192))
|
16 |
label = gr.outputs.Label()
|
17 |
-
examples = glob('./examples/*')
|
18 |
|
19 |
|
20 |
-
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
21 |
intf.launch(inline=False)
|
|
|
14 |
|
15 |
image = gr.inputs.Image(shape=(192, 192))
|
16 |
label = gr.outputs.Label()
|
|
|
17 |
|
18 |
|
19 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples='./examples')
|
20 |
intf.launch(inline=False)
|