Spaces:
Sleeping
Sleeping
marufc36
commited on
Commit
·
b94a715
1
Parent(s):
f7f49f3
update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,5 @@ def recognize_image(image):
|
|
21 |
return dict(zip(labels, map(float, probs)))
|
22 |
image = gr.Image(image_mode="RGB")
|
23 |
label=gr.Label()
|
24 |
-
example=['test_images/th(11).jpeg']
|
25 |
iface = gr.Interface(fn=recognize_image, inputs=image, outputs=label)
|
26 |
iface.launch(inline=False, share=True)
|
|
|
21 |
return dict(zip(labels, map(float, probs)))
|
22 |
image = gr.Image(image_mode="RGB")
|
23 |
label=gr.Label()
|
|
|
24 |
iface = gr.Interface(fn=recognize_image, inputs=image, outputs=label)
|
25 |
iface.launch(inline=False, share=True)
|