pip install -r requirements.txt
export OPENAI_BASE_URL=https://api.xxxx.com/v1
export OPENAI_API_KEY=sk-xxxxx
python main.py
or
flask --app main.py run
docker compose up --build
docker compose up
-
/upload
response pdf conent with sse -
/files/<path:filename>
response pdf content with html -
/md/<path:filename>
response pdf content with md