Skip to content

Commit

Permalink
Merge pull request #938 from kimi360/master
Browse files Browse the repository at this point in the history
fix: 修复Dockerfile文件中download_models.py脚本路径问题
  • Loading branch information
myhloli authored Nov 13, 2024
2 parents 4c946d5 + 5267347 commit 3d96928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 3d96928

Please sign in to comment.