File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ pip install -e .
6161## 使用指南
6262``` bash
6363# 设置OpenAI API密钥
64- export OPENAI_API_KEY=< 你的API密钥>
64+ export OPENAI_API_KEY=" 你的API密钥"
6565# 可选设置API端点
66- export OPENAI_API_BASE=< 你的API端点>
66+ export OPENAI_API_BASE=" 你的API端点"
6767# 可选设置默认模型
68- export OPENAI_DEFAULT_MODEL=< 你的模型>
68+ export OPENAI_DEFAULT_MODEL=" 你的模型"
6969
7070# PDF转换Markdown
7171python main.py < input.pdf > output.md
@@ -82,7 +82,7 @@ python main.py 起始页码 结束页码 < input.pdf > output.md
8282
8383## 在Docker中使用
8484``` bash
85- docker run -i -e OPENAI_API_KEY=< 你的API密钥> -e OPENAI_API_BASE=< 你的API端点> -e OPENAI_DEFAULT_MODEL=< 你的模型> jorbenzhu/markpdfdown < input.pdf > output.md
85+ docker run -i -e OPENAI_API_KEY=你的API密钥 -e OPENAI_API_BASE=你的API端点 -e OPENAI_DEFAULT_MODEL=你的模型 jorbenzhu/markpdfdown < input.pdf > output.md
8686```
8787
8888## 开发环境设置
You can’t perform that action at this time.
0 commit comments