mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-09-24 23:10:23 +08:00
Update how_to_download_models_zh_cn.md
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
<pre><code>pip install huggingface_hub
|
||||
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>
|
||||
<p>python脚本执行完毕后,会输出模型下载目录</p>
|
||||
</details>
|
||||
|
||||
## 方法二:从 ModelScope 下载模型
|
||||
@@ -22,6 +21,7 @@ pip install modelscope
|
||||
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models.py -O download_models.py
|
||||
python download_models.py
|
||||
```
|
||||
|
||||
python脚本会自动下载模型文件并配置好配置文件中的模型目录
|
||||
|
||||
配置文件可以在用户目录中找到,文件名为`magic-pdf.json`
|
||||
|
||||
Reference in New Issue
Block a user