Smart Turn Demo
Run the demo
Run the Server
- Set up and activate your virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the server (locally):
LOCAL=1 python server.py
Run the client
-
Install dependencies:
npm install -
Created .env.local:
cp env.example .env.local -
Set up env vars as needed:
- Run locally:
NEXT_PUBLIC_API_BASE_URL=http://localhost:7860 - Deployed:
NEXT_PUBLIC_API_BASE_URL=/api PIPECAT_CLOUD_API_KEY= AGENT_NAME=
- Start the development server:
npm run dev
- Open http://localhost:3000 in your browser