Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkosm committed Dec 28, 2024
1 parent 05352b0 commit 5df1c4c
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,9 @@
# MinerU API Server

API server for [MinerU](https://github.com/opendatalab/MinerU).
Fork of [mineru-api](https://github.com/neka-nat/mineru-api/) - API server for [MinerU](https://github.com/opendatalab/MinerU).

## Quick Start
> **Note:** This project is a **Work In Progress (WIP)** and is designed for running MinerU on serverless platforms such as [Runpod](https://www.runpod.io/).
```bash
git clone https://github.com/neka-nat/mineru-api.git
cd mineru-api
docker compose up
# GPU
docker compose up -f docker-compose.gpu.yml
```
## How to run

## Request parsing

Use curl.

```bash
curl -X PUT http://localhost:3000/api/parse -F "file=@/path/to/file.pdf"
```

Or access `http://localhost:3000/docs` in your browser.

### Demo movie (x16)
![demo16](demo16.gif)

## ToDo

- [ ] Download images
- [x] Use GPU
- [ ] Utility for deploying to public cloud
WIP

0 comments on commit 5df1c4c

Please sign in to comment.