Files
pipecat/examples/websocket-server
Aleix Conchillo Flaqué 46d6cde383 Merge pull request #574 from Allenmylath/patch-11
Update requirements.txt
2024-10-14 08:54:44 -07:00
..
2024-09-23 09:53:37 -07:00
2024-10-14 08:52:46 -07:00
2024-10-14 11:20:12 +05:30

Websocket Server

This is an example that shows how to use WebsocketServerTransport to communicate with a web client.

Get started

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Run the bot

python bot.py

Run the HTTP server

This will host the static web client:

python -m http.server

Then, visit http://localhost:8000 in your browser to start a session.