Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ with gr.Blocks(title="Object Detection") as demo:
|
|
66 |
input_image = gr.Image(label="Input image", type="pil")
|
67 |
output_image = gr.Image(label="Output image with predicted instances", type="pil")
|
68 |
send_btn = gr.Button("Infer")
|
69 |
-
send_btn.click(fn=predict, inputs=[
|
70 |
|
71 |
|
72 |
#demo.queue()
|
|
|
66 |
input_image = gr.Image(label="Input image", type="pil")
|
67 |
output_image = gr.Image(label="Output image with predicted instances", type="pil")
|
68 |
send_btn = gr.Button("Infer")
|
69 |
+
send_btn.click(fn=predict, inputs=[input_image], outputs=[output_image])
|
70 |
|
71 |
|
72 |
#demo.queue()
|