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