Spaces:
Running
Running
Update app.py
Browse files
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.
|
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)
|