Skip to content

daodao97/gptpdf-ui

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published