Hasanmog commited on
Commit
6662ac3
·
verified ·
1 Parent(s): 48fdf96
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -35,6 +35,9 @@ from huggingface_hub import hf_hub_download , login
35
  # Authenticate with Hugging Face Hub
36
  login(token=os.getenv("HUGGINGFACE_HUB_TOKEN"))
37
 
 
 
 
38
  # Use this command for evaluating the Grounding DINO model
39
  config_file = "cfg_odvg.py"
40
  ckpt_repo_id = "Hasanmog/Peft-GroundingDINO"
 
35
  # Authenticate with Hugging Face Hub
36
  login(token=os.getenv("HUGGINGFACE_HUB_TOKEN"))
37
 
38
+ url = hf_hub_url("Hasanmog/Peft-GroundingDINO", "Best.pth")
39
+ cache_file = cached_download(url, force_download=True)
40
+
41
  # Use this command for evaluating the Grounding DINO model
42
  config_file = "cfg_odvg.py"
43
  ckpt_repo_id = "Hasanmog/Peft-GroundingDINO"