Skip to content

KVEng/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 compsoe 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

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.1%
  • HTML 42.4%
  • Other 1.5%