Commit d8945685 authored by myhloli's avatar myhloli

update readme

parent 278ba2f6
...@@ -128,7 +128,6 @@ In magic-pdf.json, configure "models-dir" to point to the directory where the mo ...@@ -128,7 +128,6 @@ In magic-pdf.json, configure "models-dir" to point to the directory where the mo
###### simple ###### simple
```bash ```bash
#If the full version is installed, you can invoke the built-in models for parsing.
magic-pdf pdf-command --pdf "pdf_path" --inside_model true magic-pdf pdf-command --pdf "pdf_path" --inside_model true
``` ```
After the program has finished, you can find the generated markdown files under the directory "/tmp/magic-pdf". After the program has finished, you can find the generated markdown files under the directory "/tmp/magic-pdf".
......
...@@ -118,7 +118,6 @@ cp magic-pdf.template.json ~/magic-pdf.json ...@@ -118,7 +118,6 @@ cp magic-pdf.template.json ~/magic-pdf.json
###### 直接使用 ###### 直接使用
```bash ```bash
# 已安装full版本可以调用内置模型进行解析
magic-pdf pdf-command --pdf "pdf_path" --inside_model true magic-pdf pdf-command --pdf "pdf_path" --inside_model true
``` ```
程序运行完成后,你可以在"/tmp/magic-pdf"目录下看到生成的markdown文件,markdown目录中可以找到对应的xxx_model.json文件 程序运行完成后,你可以在"/tmp/magic-pdf"目录下看到生成的markdown文件,markdown目录中可以找到对应的xxx_model.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