Unverified Commit 964715b2 authored by Xiaomeng Zhao's avatar Xiaomeng Zhao Committed by GitHub

Merge pull request #717 from myhloli/dev

Update how_to_download_models_zh_cn.md
parents ea7bc620 d1c9c7dd
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
<pre><code>pip install huggingface_hub <pre><code>pip install huggingface_hub
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models_hf.py -O download_models_hf.py wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models_hf.py -O download_models_hf.py
python download_models_hf.py</code></pre> python download_models_hf.py</code></pre>
<p>python脚本执行完毕后,会输出模型下载目录</p>
</details> </details>
## 方法二:从 ModelScope 下载模型 ## 方法二:从 ModelScope 下载模型
...@@ -22,6 +21,7 @@ pip install modelscope ...@@ -22,6 +21,7 @@ pip install modelscope
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models.py -O download_models.py wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models.py -O download_models.py
python download_models.py python download_models.py
``` ```
python脚本会自动下载模型文件并配置好配置文件中的模型目录 python脚本会自动下载模型文件并配置好配置文件中的模型目录
配置文件可以在用户目录中找到,文件名为`magic-pdf.json` 配置文件可以在用户目录中找到,文件名为`magic-pdf.json`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment