Skip to content
daodao97Public

About

Using GPT to parse PDF

Resources

Stars

102 stars

Watchers

1 watching

Forks

Repository files navigation

gptpdf ui

gptpdf

install dependencies

pip install -r requirements.txt

set openai key

export OPENAI_BASE_URL=https://api.xxxx.com/v1
export OPENAI_API_KEY=sk-xxxxx

start serve

python main.py

or

flask --app main.py run

docker

docker compose up --build

docker compose up

api

  • /upload response pdf conent with sse

  • /files/<path:filename> response pdf content with html

  • /md/<path:filename> response pdf content with md

About

Using GPT to parse PDF

Resources

Stars

102 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages