NimaBoscarino commited on
Commit
aab5e95
β€’
1 Parent(s): 3e35d79

Update app.py

Browse files
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")
25
 
26
  return model_path
27