Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,6 @@ def detect(img):
|
|
| 30 |
# show detection bounding boxes on image
|
| 31 |
|
| 32 |
img = gr.inputs.Image(shape=(192, 192))
|
| 33 |
-
image = gr.outputs.Image()
|
| 34 |
|
| 35 |
-
intf = gr.Interface(fn=detect, inputs=img, outputs=image)
|
| 36 |
intf.launch(inline=False)
|
|
|
|
| 30 |
# show detection bounding boxes on image
|
| 31 |
|
| 32 |
img = gr.inputs.Image(shape=(192, 192))
|
|
|
|
| 33 |
|
| 34 |
+
intf = gr.Interface(fn=detect, inputs=img, outputs='image')
|
| 35 |
intf.launch(inline=False)
|