Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

feat: update readme

许瑞9827d294da02
diff --git a/README.md b/README.md
index e5343230..62f07d49 100644
--- a/README.md
+++ b/README.md
@@ -22,15 +22,15 @@ git clone https://github.com/magicpdf/Magic-PDF.git
2.Install the requirements
```sh
+cd Magic-PDF
pip install -r requirements.txt
```
-3.Run the main script
+3.Run the command line
```sh
-use demo/text_demo.py
-or
-use demo/ocr_demo.py
+export PYTHONPATH=.
+python magic_pdf/cli/magicpdf.py --help
```
### 版权说明