Merge pull request #938 from kimi360/master

fix: 修复Dockerfile文件中download_models.py脚本路径问题
This commit is contained in:
Xiaomeng Zhao
2024-11-13 15:49:22 +08:00
committed by GitHub
+1 -1
View File
@@ -42,7 +42,7 @@ RUN /bin/bash -c "wget https://gitee.com/myhloli/MinerU/raw/master/magic-pdf.tem
# Download models and update the configuration file
RUN /bin/bash -c "pip3 install modelscope && \
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models.py && \
wget https://gitee.com/myhloli/MinerU/raw/master/scripts/download_models.py && \
python3 download_models.py && \
sed -i 's|cpu|cuda|g' /root/magic-pdf.json"