File size: 480 Bytes
906e104
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os
from huggingface_hub import snapshot_download

# Replace this with the REPO_ID you set in your Hugging Face Space
REPO_ID = "Vittal-M/DAHS-Models"  # <-- CHANGE THIS IF DIFFERENT

print(f"Downloading artifacts from {REPO_ID}...")
snapshot_download(
    repo_id=REPO_ID,
    repo_type="model",
    local_dir=".",
    allow_patterns=["models/*", "results/*", "data/*"]
)
print("Download complete! Your local 'models', 'results', and 'data' folders are now fully synced.")