Spaces:
Runtime error
Runtime error
Commit
·
8f667bb
1
Parent(s):
0ca9ab7
Added the app
Browse files
app.py
CHANGED
@@ -13,5 +13,5 @@ image = gr.inputs.Image(shape=(192, 192))
|
|
13 |
label = gr.outputs.Label()
|
14 |
examples = ['pencil.jpg', 'pen.jpg', 'eraser.jpg', 'calculator.jpg', 'binder_clip.jpg', 'marker.jpg', 'glue.jpg', 'tape.jpg', 'crayon.jpg', 'paper.jpg']
|
15 |
|
16 |
-
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
17 |
intf.launch()
|
|
|
13 |
label = gr.outputs.Label()
|
14 |
examples = ['pencil.jpg', 'pen.jpg', 'eraser.jpg', 'calculator.jpg', 'binder_clip.jpg', 'marker.jpg', 'glue.jpg', 'tape.jpg', 'crayon.jpg', 'paper.jpg']
|
15 |
|
16 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples, cache_examples=False)
|
17 |
intf.launch()
|