Files
pipecat/examples/fal-smart-turn
2025-04-22 21:16:41 -04:00
..
2025-04-22 21:16:41 -04:00
2025-04-22 21:16:41 -04:00
2025-04-22 21:16:41 -04:00
2025-04-22 21:16:41 -04:00

Smart Turn Demo

Run the demo

Run the Server

  1. Set up and activate your virtual environment:
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the server (locally):
LOCAL=1 python server.py

Run the client

  1. Install dependencies:

    npm install
    
  2. Created .env.local:

    cp env.example .env.local
    
  3. 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=
    
  1. Start the development server:
npm run dev
  1. Open http://localhost:3000 in your browser