mohamedrekik commited on
Commit
446a0e5
·
1 Parent(s): 5f54b35
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -117,8 +117,9 @@ def run(img_path, model_ind:int):
117
 
118
  demo = gr.Interface(
119
  fn=run,
120
- inputs=["image", gr.Dropdown(["YOLOv8n", "YOLOv8s", "YOLOv8m", "YOLOv8l", "YOLOv8x"], label="Model", example="crowd.jpeg", value="YOLOv8n", info="The larger the model, the slower and more performant it is.")],
121
  outputs=["image"],
 
122
  )
123
 
124
  demo.launch()
 
117
 
118
  demo = gr.Interface(
119
  fn=run,
120
+ inputs=["image", gr.Dropdown(["YOLOv8n", "YOLOv8s", "YOLOv8m", "YOLOv8l", "YOLOv8x"], label="Model", value="YOLOv8n", info="The larger the model, the slower and more performant it is.")],
121
  outputs=["image"],
122
+ example="crowd.jpeg"
123
  )
124
 
125
  demo.launch()