antigravity commited on
Commit
b611ed5
·
1 Parent(s): c441d2c

fix: add mzm model download to Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -22,6 +22,9 @@ COPY . /app
22
  # 预下载 GenieData 资源(避免每次启动都下载)
23
  RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='High-Logic/Genie', allow_patterns=['GenieData/*'], local_dir='/app', local_dir_use_symlinks=False)"
24
 
 
 
 
25
  # 镜像权限处理
26
  RUN chmod -R 777 /app
27
 
 
22
  # 预下载 GenieData 资源(避免每次启动都下载)
23
  RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='High-Logic/Genie', allow_patterns=['GenieData/*'], local_dir='/app', local_dir_use_symlinks=False)"
24
 
25
+ # 预下载 mzm 模型到 models/mzm 目录
26
+ RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='simler/mzm-model', local_dir='/app/models/mzm', local_dir_use_symlinks=False)"
27
+
28
  # 镜像权限处理
29
  RUN chmod -R 777 /app
30