Files
pipecat/src/samples/server/README.md
chadbailey59 86af896150 Wake word and animation sprites (#15)
* WIP: golden kitty

* added web server

* added health check

* added flask to module build

* trying requirements.txt

* added dotenv

* flask_cors

* gunicorn

* requirements cleanup

* Dockerfile

* WOOF

* basic wake word

* removed otel

* basic animation kind of works

* i think animation defeated me

* added santa cat assets

* cleanup

* cleanup

* server example and cleanup

* more cleanup

* fix up some class variable names

* minor cleanup, remove mistakenly-added print and logger stuff

* cleanup

* cleanup

---------

Co-authored-by: Moishe Lettvin <moishel@gmail.com>
2024-01-26 15:37:39 -06:00

520 B

Server Example

This is an example server based on Santa Cat. You can run the server with this command:

flask --app daily-bot-manager.py --debug run

Once the server is started, you can load http://127.0.0.1:5000/spin-up-kitty in a browser, and the server will do the following:

  • Create a new, randomly-named Daily room with DAILY_API_KEY from your .env file or environment
  • Start the 10-wake-word.py example and connect it to that room
  • 301 redirect your browser to the room