Backend that delivers the response from the ML model (training) via websocket, see client
Creating a virtual environment and activate it:
virtualenv -p python3.9 venv
Activate for linux
source venv/bin/activate
or for Windows:
.\venv\Scripts\activate
Then install the required python librarys using:
pip install -r requirements.txt
Finally run by using:
uvicorn main:app --reload --port 8000