updating app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ def recognize_image(image):
|
|
33 |
|
34 |
|
35 |
|
36 |
-
image = gr.
|
37 |
-
label = gr.
|
38 |
examples = [
|
39 |
'bansuri.jfif',
|
40 |
'harmonium.jfif',
|
@@ -49,4 +49,4 @@ examples = [
|
|
49 |
]
|
50 |
|
51 |
iface = gr.Interface(fn=recognize_image, inputs = image, outputs= label, examples = examples)
|
52 |
-
iface.launch(inline =False)
|
|
|
33 |
|
34 |
|
35 |
|
36 |
+
image = gr.Image()
|
37 |
+
label = gr.Label()
|
38 |
examples = [
|
39 |
'bansuri.jfif',
|
40 |
'harmonium.jfif',
|
|
|
49 |
]
|
50 |
|
51 |
iface = gr.Interface(fn=recognize_image, inputs = image, outputs= label, examples = examples)
|
52 |
+
iface.launch(inline =False, share = True)
|