You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 weeks ago | |
---|---|---|
.. | ||
Dockerfile | 4 weeks ago | |
README.md | 4 weeks ago | |
app.py | 4 weeks ago | |
download_models.py | 4 weeks ago | |
entrypoint.sh | 4 weeks ago | |
magic-pdf.json | 4 weeks ago | |
requirements.txt | 4 weeks ago |
README.md
基于MinerU的PDF解析API
- MinerU的GPU镜像构建
- 基于FastAPI的PDF解析接口
构建方式
docker build -t mineru-api .
或者使用代理:
docker build --build-arg http_proxy=http://127.0.0.1:7890 --build-arg https_proxy=http://127.0.0.1:7890 -t mineru-api .
启动命令
docker run --rm -it --gpus=all -p 8000:8000 mineru-api
测试参数
访问地址:
http://localhost:8000/docs
http://127.0.0.1:8000/docs