Make sure you have node
, yarn
@ 1.x, python
>= 3.7 and CUDA
@ 1.13 installed in your machine/container.
Then, to install the node packages, run
yarn install
To install the python packages, run
pip install torch==1.11.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
pip install -r requirements.txt
Set the env variables as
FLASK_APP=server:app;FLASK_ENV=development;PYTHON_EXE=.\venv\Scripts\python
Run both frontend and backend
yarn dev