opqtest commited on
Commit
f38daa5
·
verified ·
1 Parent(s): 124bbcb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile CHANGED
@@ -125,6 +125,16 @@ RUN echo "Downloading VoxCPM ONNX model..." && \
125
  rm onnx_models_v15.zip && \
126
  cd ..
127
 
 
 
 
 
 
 
 
 
 
 
128
  # 验证模型文件
129
  RUN echo "Verifying model files..." && \
130
  ls -lh models/ && \
 
125
  rm onnx_models_v15.zip && \
126
  cd ..
127
 
128
+ # 4. 下载 VoxCPM 参考音频数据库
129
+ RUN echo "Downloading VoxCPM reference database..." && \
130
+ aria2c -x 16 -s 16 --max-tries=5 --retry-wait=5 \
131
+ -d models/ -o voxcpm_ref.db \
132
+ https://modelscope.cn/models/opqtest007/vox/resolve/master/voxcpm_ref.db || \
133
+ (echo "VoxCPM reference database download failed, retrying..." && \
134
+ aria2c -x 16 -s 16 --max-tries=10 --retry-wait=10 \
135
+ -d models/ -o voxcpm_ref.db \
136
+ https://modelscope.cn/models/opqtest007/vox/resolve/master/voxcpm_ref.db)
137
+
138
  # 验证模型文件
139
  RUN echo "Verifying model files..." && \
140
  ls -lh models/ && \