Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
5c8f6b84
Unverified
Commit
5c8f6b84
authored
Jun 13, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jun 13, 2025
Browse files
Merge pull request #2636 from opendatalab/dev
update docs
parents
be80200a
52537958
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
86 deletions
+64
-86
README.md
README.md
+31
-41
README_zh-CN.md
README_zh-CN.md
+32
-43
mineru/cli/models_download.py
mineru/cli/models_download.py
+1
-2
No files found.
README.md
View file @
5c8f6b84
...
...
@@ -347,10 +347,11 @@ Easier to use: Just grab MinerU Desktop. No coding, no login, just a simple inte
<details>
<summary>
2024/07/05 Initial open-source release
</summary>
</details>
</details>
<!-- TABLE OF CONTENT -->
<!-- TABLE OF CONTENT -->
<details
open=
"open"
>
<details
open=
"open"
>
<summary><h2
style=
"display: inline-block"
>
Table of Contents
</h2></summary>
<ol>
<li>
...
...
@@ -361,17 +362,7 @@ Easier to use: Just grab MinerU Desktop. No coding, no login, just a simple inte
<li><a
href=
"#quick-start"
>
Quick Start
</a>
<ul>
<li><a
href=
"#online-demo"
>
Online Demo
</a></li>
<li><a
href=
"#quick-cpu-demo"
>
Quick CPU Demo
</a></li>
<li><a
href=
"#using-gpu"
>
Using GPU
</a></li>
<li><a
href=
"#using-npu"
>
Using NPU
</a></li>
</ul>
</li>
<li><a
href=
"#usage"
>
Usage
</a>
<ul>
<li><a
href=
"#command-line"
>
Command Line
</a></li>
<li><a
href=
"#api"
>
API
</a></li>
<li><a
href=
"#deploy-derived-projects"
>
Deploy Derived Projects
</a></li>
<li><a
href=
"#development-guide"
>
Development Guide
</a></li>
<li><a
href=
"#quick-cpu-demo"
>
Local Deployment
</a></li>
</ul>
</li>
</ul>
...
...
@@ -388,7 +379,6 @@ Easier to use: Just grab MinerU Desktop. No coding, no login, just a simple inte
<li><a
href=
"#magic-html"
>
Magic-html
</a></li>
<li><a
href=
"#links"
>
Links
</a></li>
</ol>
</details>
</details>
# MinerU
...
...
README_zh-CN.md
View file @
5c8f6b84
...
...
@@ -336,11 +336,12 @@
<details>
<summary>
2024/07/05 首次开源
</summary>
</details>
</details>
<!-- TABLE OF CONTENT -->
<!-- TABLE OF CONTENT -->
<details
open=
"open"
>
<details
open=
"open"
>
<summary><h2
style=
"display: inline-block"
>
文档目录
</h2></summary>
<ol>
<li>
...
...
@@ -351,19 +352,8 @@
<li><a
href=
"#快速开始"
>
快速开始
</a>
<ul>
<li><a
href=
"#在线体验"
>
在线体验
</a></li>
<li><a
href=
"#使用CPU快速体验"
>
使用CPU快速体验
</a></li>
<li><a
href=
"#使用GPU"
>
使用GPU
</a></li>
<li><a
href=
"#使用NPU"
>
使用NPU
</a></li>
</ul>
</li>
<li><a
href=
"#使用"
>
使用方式
</a>
<ul>
<li><a
href=
"#命令行"
>
命令行
</a></li>
<li><a
href=
"#api"
>
API
</a></li>
<li><a
href=
"#部署衍生项目"
>
部署衍生项目
</a></li>
<li><a
href=
"#二次开发"
>
二次开发
</a></li>
<li><a
href=
"#本地部署"
>
本地部署
</a></li>
</ul>
</li>
</ul>
</li>
<li><a
href=
"#todo"
>
TODO
</a></li>
...
...
@@ -378,7 +368,6 @@
<li><a
href=
"#magic-html"
>
magic-html提取混合网页内容
</a></li>
<li><a
href=
"#links"
>
Links
</a></li>
</ol>
</details>
</details>
...
...
mineru/cli/models_download.py
View file @
5c8f6b84
...
...
@@ -42,8 +42,7 @@ def download_and_modify_json(url, local_filename, modifications):
def
configure_model
(
model_dir
,
model_type
):
"""配置模型"""
# json_url = 'https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/mineru.template.json'
json_url
=
'https://gcore.jsdelivr.net/gh/myhloli/Magic-PDF@dev/mineru.template.json'
json_url
=
'https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/mineru.template.json'
config_file_name
=
'mineru.json'
home_dir
=
os
.
path
.
expanduser
(
'~'
)
config_file
=
os
.
path
.
join
(
home_dir
,
config_file_name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment