create a virtual environment using venv:
python -m venv venvActivate the virtual environment. Note that the command might differ based on your operating system.
For Windows:
venv\Scripts\activateFor macOS/Linux:
source venv/bin/activateInstall the required Python packages using pip:
pip install -r requirements.txtsudo apt install rubberband-cliWith the virtual environment activated, you can now run the UVicorn server. Use the following command:
uvicorn src.python_run.piper.test:app --reloadNow you can access the server on http://127.0.0.1:8000/docs
This command starts the Uvicorn server with automatic reloading enabled, so any changes you make to the code will automatically trigger a server restart.