linhcuem commited on
Commit
9acf0ce
1 Parent(s): 8e98827

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def yolov8_img_inference(
46
  image_size: gr.inputs.Slider = 640,
47
  conf_threshold: gr.inputs.Slider = 0.25,
48
  iou_threshold: gr.inputs.Slider = 0.45,
49
- token: gr.inputs.Text = None
50
  ):
51
  model_path = download_from_hub(model_path, token)
52
  model = YOLO(model_path)
 
46
  image_size: gr.inputs.Slider = 640,
47
  conf_threshold: gr.inputs.Slider = 0.25,
48
  iou_threshold: gr.inputs.Slider = 0.45,
49
+ token: gr.inputs.Textbox = None
50
  ):
51
  model_path = download_from_hub(model_path, token)
52
  model = YOLO(model_path)