Update app.py
Browse files
app.py
CHANGED
@@ -13,5 +13,5 @@ image = gr.inputs.Image(shape=(192,192))
|
|
13 |
label = gr.outputs.Label()
|
14 |
examples = ['sword.jpg', 'shield.jpg']
|
15 |
|
16 |
-
|
17 |
-
inf.launch(inline=False)
|
|
|
13 |
label = gr.outputs.Label()
|
14 |
examples = ['sword.jpg', 'shield.jpg']
|
15 |
|
16 |
+
inf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
17 |
+
inf.launch(inline=False,share=True)
|