example-submission / scripts /model_download.bash
Yan Pan
Correct model path and Dockerfile for HuggingFace Spaces
ead7e1c
raw
history blame
235 Bytes
python - <<'PY'
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="microsoft/resnet-18",
local_dir="models/microsoft/resnet-18",
local_dir_use_symlinks=False # copies files; safer for containers
)
PY