BasToTheMax commited on
Commit
64a04cd
·
verified ·
1 Parent(s): 47c099b

Set input to image (was file)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def upload_image(file):
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.",
 
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.",