Koni commited on
Commit
a64913f
·
1 Parent(s): eff3bc3

Last fuck aroung!

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def yolov9_inference(img_path, model_id='YOLOv9-S_X_LOCO-converted.pt', img_size
23
 
24
  model_path = download_models(model_id)
25
 
26
- return np.array(PIL.Image.open(image_path))
27
 
28
  def download_models(model_id):
29
  hf_hub_download("KoniHD/LOCO-Detection", filename=f"{model_id}", local_dir=f"./",
 
23
 
24
  model_path = download_models(model_id)
25
 
26
+ return np.array(PIL.Image.open(img_path))
27
 
28
  def download_models(model_id):
29
  hf_hub_download("KoniHD/LOCO-Detection", filename=f"{model_id}", local_dir=f"./",