myhloli 4c412b2878 (docs&build): switch to Aliyun PyPI mirror 1 жил өмнө
..
images f5c431cc91 update readme 1 жил өмнө
tests 9cb88954e6 feat: update project name 1 жил өмнө
web_demo 754c10d33b feat: init db 1 жил өмнө
README.md 4c412b2878 (docs&build): switch to Aliyun PyPI mirror 1 жил өмнө
README_zh-CN.md 4c412b2878 (docs&build): switch to Aliyun PyPI mirror 1 жил өмнө
mineru-web接口文档.html 9cb88954e6 feat: update project name 1 жил өмнө
poetry.lock 9cb88954e6 feat: update project name 1 жил өмнө
pyproject.toml 9cb88954e6 feat: update project name 1 жил өмнө
requirements.txt 9cb88954e6 feat: update project name 1 жил өмнө

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
    
  2. 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
    
  3. 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
    
  4. 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
    

ps:API documentation

Open the mineru-web API mineru-web接口文档.html in the browser