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>
This commit is contained in:
13
src/samples/server/README.md
Normal file
13
src/samples/server/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Server Example
|
||||
|
||||
This is an example server based on [Santa Cat](https://santacat.ai). 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
|
||||
Reference in New Issue
Block a user