mohamedrekik commited on
Commit
f03af75
·
1 Parent(s): 0fdf98e

add a default model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def run(img_path, model_ind):
117
 
118
  demo = gr.Interface(
119
  fn=run,
120
- inputs=["image", gr.Dropdown(["YOLOv8n", "YOLOv8s", "YOLOv8m", "YOLOv8l", "YOLOv8x"], label="Model", 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", value="YOLOv8n", info="The larger the model, the slower and more performant it is.")],
121
  outputs=["image"],
122
  )
123