akhaliq HF staff commited on
Commit
3e35d79
β€’
1 Parent(s): b79d502
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ from PIL import Image
21
  from huggingface_hub import hf_hub_download
22
 
23
  def load_model(model_name):
24
- model_path = hf_hub_download(repo_id=f"Yolov7/{model_name}", filename=f"{model_name}.pt"), None)
25
 
26
  return model_path
27
 
 
21
  from huggingface_hub import hf_hub_download
22
 
23
  def load_model(model_name):
24
+ model_path = hf_hub_download(repo_id=f"Yolov7/{model_name}", filename=f"{model_name}.pt", None)
25
 
26
  return model_path
27