Skip to content

KristianMischke/doctr-api

Repository files navigation

Be sure to have correct Poetry version 1.2.2 Follow: https://python-poetry.org/blog/announcing-poetry-1.2.0/

Follow steps here: https://doc.courtbouillon.org/weasyprint/stable/first_steps.html

WINDOWS! note: GTK3 installer step ^

install deps

if you have nvidia and cuda on your machine:

poetry install --with cuda

else:

poetry install

OR if you're on linux and have rocm:

poetry install --with rocm

run project with:

uvicorn main:app --reload  --workers 1 --host 0.0.0.0 --port 8088

likely not needed anymore, but if above cuda method doesn't work, install with

pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages