BasToTheMax commited on
Commit
9e28fe1
·
verified ·
1 Parent(s): 970fec5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ def upload_image(file):
31
 
32
  iface = gr.Interface(
33
  fn=upload_image,
34
- inputs="image",
35
- outputs="file",
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"