mohamedrekik commited on
Commit
5f54b35
·
1 Parent(s): 9481ef1

attach an example

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. crowd.jpeg +0 -0
app.py CHANGED
@@ -117,7 +117,7 @@ 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", value="YOLOv8n", info="The larger the model, the slower and more performant it is.")],
121
  outputs=["image"],
122
  )
123
 
 
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
 
crowd.jpeg ADDED