Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
|
@@ -35,9 +35,6 @@ from huggingface_hub import hf_hub_download , login
|
|
| 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"
|
|
|
|
| 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"
|