ammariii08 commited on
Commit
5edc534
·
verified ·
1 Parent(s): 1a4daa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def run_inference(image):
42
  demo = gr.Interface(
43
  fn=run_inference,
44
  inputs=gr.Image(type="numpy"),
45
- outputs=gr.Image(type="file"),
46
  title="YOLO11 Object Detection",
47
  description="Upload a DDR image to run inference using YOLO11"
48
  )
 
42
  demo = gr.Interface(
43
  fn=run_inference,
44
  inputs=gr.Image(type="numpy"),
45
+ outputs=gr.Image(type="filepath"),
46
  title="YOLO11 Object Detection",
47
  description="Upload a DDR image to run inference using YOLO11"
48
  )