chore: 修改文件夹结构

This commit is contained in:
2026-03-31 10:14:08 +08:00
parent b1527d9575
commit 4ead0a20cf
10 changed files with 14 additions and 20 deletions
+12
View File
@@ -0,0 +1,12 @@
from pathlib import Path
from huggingface_hub import snapshot_download
PROJECT_ROOT = Path(__file__).parent.parent
PARAMETER_ROOT = Path(PROJECT_ROOT, "params")
if __name__ == "__main__":
snapshot_download(
repo_id="ViperEk/AstrAI",
local_dir=PARAMETER_ROOT,
force_download=True,
)