- Create a Python virtual environment
python3 -m venv sw-env # do not do this within the repo
source sw-env/bin/activate # activate when on same directory as sw-env
- Install dependencies listed in requirements.txt
pip install -r requirements.txt
- Run the main API gateway service
python3 app/main.py
- Run the speech transcription WebSocket service
python3 app/services/websocket.py
Open http://127.0.0.1:8001 with your browser to see the result. Open http://127.0.0.1:8001/docs or http://127.0.0.1:8001/redoc to see the API docs, as a Swagger doc or a ReDoc, respectively.
Reference: FastAPI Setup