Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,8 +34,8 @@ with gradio_app:
|
|
| 34 |
</h3>
|
| 35 |
""")
|
| 36 |
|
| 37 |
-
input_image = gr.
|
| 38 |
-
output_image = gr.
|
| 39 |
|
| 40 |
gr.Interface(
|
| 41 |
fn=detect,
|
|
|
|
| 34 |
</h3>
|
| 35 |
""")
|
| 36 |
|
| 37 |
+
input_image = gr.Image(type="numpy")
|
| 38 |
+
output_image = gr.Image(type="numpy", label="Annotated Image")
|
| 39 |
|
| 40 |
gr.Interface(
|
| 41 |
fn=detect,
|