Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,8 +31,8 @@ def upload_image(file):
|
|
31 |
|
32 |
iface = gr.Interface(
|
33 |
fn=upload_image,
|
34 |
-
inputs="
|
35 |
-
outputs="
|
36 |
title="Object Detection",
|
37 |
description="Upload an image and detect objects using DETR model.",
|
38 |
flagging_mode="never"
|
|
|
31 |
|
32 |
iface = gr.Interface(
|
33 |
fn=upload_image,
|
34 |
+
inputs="file",
|
35 |
+
outputs="text",
|
36 |
title="Object Detection",
|
37 |
description="Upload an image and detect objects using DETR model.",
|
38 |
flagging_mode="never"
|