Parthebhan commited on
Commit
6be6ed7
·
verified ·
1 Parent(s): d14a3a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def yolov9_inference(img):
34
  def app():
35
  return gr.Interface(
36
  fn=yolov9_inference,
37
- inputs=gr.inputs.Image(type="pil", label="Upload Image"),
38
  outputs="image",
39
  title="YOLOv9 Inference",
40
  description="Perform object detection using the YOLOv9 model.",
 
34
  def app():
35
  return gr.Interface(
36
  fn=yolov9_inference,
37
+ inputs= gr.Image(type="filepath", label="Image"),
38
  outputs="image",
39
  title="YOLOv9 Inference",
40
  description="Perform object detection using the YOLOv9 model.",