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.
zhangzhichao d30f2e3bf1 文本方向分类优化&更新版面分析模型 4 weeks ago
..
images 文本方向分类优化&更新版面分析模型 4 weeks ago
tests 文本方向分类优化&更新版面分析模型 4 weeks ago
web_demo 文本方向分类优化&更新版面分析模型 4 weeks ago
README.md 文本方向分类优化&更新版面分析模型 4 weeks ago
README_zh-CN.md 文本方向分类优化&更新版面分析模型 4 weeks ago
poetry.lock 文本方向分类优化&更新版面分析模型 4 weeks ago
pyproject.toml 文本方向分类优化&更新版面分析模型 4 weeks ago
requirements.txt 文本方向分类优化&更新版面分析模型 4 weeks ago

README.md

MinerU Local web_demo

Feature Overview

  • Supports uploading PDFs and calling MinerU for processing

  • Supports online editing of the Markdown results parsed by MinerU

  • Supports viewing of historical tasks

Installation and Deployment

  1. MinerU Installation and Deployment
# The service depends on mineru, please ensure mineru is installed first
  1. Package the front-end interface
# First, navigate to the front-end directory
cd projects/web

# Modify the configuration
# Change the IP in the target field of the file vite.config.ts to your own computer's IP

# Build the front-end project
npm install -g yarn
yarn install
yarn build
  1. Install service dependencies
# First, navigate to the back-end directory
cd projects/web_demo
# Install dependencies
pip3 install -r requirements.txt  -i https://mirrors.aliyun.com/pypi/simple
  1. Start the service
# Navigate to the program directory
cd projects/web_demo/web_demo
# Start the service
python3 app.py or python app.py
# Access the interface by visiting the started address in the browser

psAPI documentation

https://apifox.com/apidoc/shared-b8eda098-ab9c-4cb3-9432-62be9be9c6f7