Spaces:
Runtime error
Runtime error
Updated app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,8 @@ image_path = []
|
|
35 |
for i in os.listdir(path):
|
36 |
image_path.append(path+i)
|
37 |
|
38 |
-
image = gr.
|
39 |
-
label = gr.
|
40 |
|
41 |
iface = gr.Interface(fn=result, inputs=image, outputs='text', examples = image_path)
|
42 |
iface.launch(inline = False)
|
|
|
35 |
for i in os.listdir(path):
|
36 |
image_path.append(path+i)
|
37 |
|
38 |
+
image = gr.components.Image(shape =(300,300))
|
39 |
+
label = gr.components.Label()
|
40 |
|
41 |
iface = gr.Interface(fn=result, inputs=image, outputs='text', examples = image_path)
|
42 |
iface.launch(inline = False)
|