Commit Graph

95 Commits

Author SHA1 Message Date
Moishe Lettvin
9d5ad5675c Fix 06- demo and also fix bugs where dangling sentences wouldn't be spoken 2024-02-01 12:54:23 -05:00
chadbailey59
0d96f91cde Added sound effect example (#18)
* added sound effect example

* added dialout to this branch too

* fixup

* fixup for more dialout testing

* cleanup
2024-02-01 10:26:50 -06:00
Moishe Lettvin
4e9586595d minor cleanup 2024-01-29 15:06:39 -05:00
Moishe Lettvin
d0bcddfd70 Fix 06a-image-sync.py 2024-01-29 14:29:32 -05:00
Chad Bailey
065a213ebb example renaming 2024-01-29 17:42:45 +00:00
Chad Bailey
7d6c94d604 added 09 examples 2024-01-29 17:39:28 +00:00
Chad Bailey
0859b57b00 Added 09 examples 2024-01-29 17:39:14 +00:00
Moishe Lettvin
c39920132c Add some basic daily_transport tests 2024-01-29 07:56:12 -05:00
Moishe Lettvin
4416f36ae9 some minor cleanup, and coalesce image/images into one thing, and use itertools.cycle 2024-01-27 19:07:29 -05:00
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
Moishe Lettvin
5cbac4701b minor cleanup, remove mistakenly-added print and logger stuff 2024-01-26 15:27:12 -05:00
Moishe Lettvin
5d9aa530e2 fix up some class variable names 2024-01-26 15:15:44 -05:00
Moishe Lettvin
d4c4d49035 Merge pull request #14 from daily-co/aiosessions
Don't create aiohttp sessions inside services
2024-01-26 14:01:24 -05:00
Moishe Lettvin
e81f247845 Don't create aiohttp sessions inside services 2024-01-26 12:30:37 -05:00
Liza
8baf137511 prefix suspected private members (#13) 2024-01-26 18:28:54 +01:00
Moishe Lettvin
ead655fe23 some more fixup 2024-01-26 10:07:16 -05:00
Moishe Lettvin
bab102f197 little more cleanup 2024-01-26 09:54:51 -05:00
Moishe Lettvin
95fc802607 Speaking / waiting images 2024-01-26 09:15:29 -05:00
Moishe Lettvin
5fdda43bed Autopep linter fixes 2024-01-25 12:12:46 -05:00
Moishe Lettvin
f0d9b0613e Add faster_whisper to module dependencies; remove unneeded import 2024-01-25 11:27:00 -05:00
Moishe Lettvin
c9c2e5f561 Remove unnecessary try/except 2024-01-25 11:18:55 -05:00
Moishe Lettvin
795a339542 Add InterruptibleConversationWrapper 2024-01-25 11:15:04 -05:00
Liza
31db156dfc Local Whisper transcription (#10)
* First pass at Whisper transcription

* deletions

* Revise based on feedback, add autopep8
2024-01-25 13:43:25 +01:00
Moishe Lettvin
690cf2e47d Merge pull request #8 from daily-co/queueframe-refactor
Refactor QueueFrame
2024-01-23 13:15:11 -05:00
Moishe Lettvin
ba89e41c5b remove commented-out code 2024-01-23 09:37:15 -05:00
Moishe Lettvin
c134598a77 Refactor QueueFrame 2024-01-23 09:33:51 -05:00
Liza
b51abd2969 facilitate manual call management (#7) 2024-01-23 14:33:27 +01:00
Moishe Lettvin
3fda9b0ecb Use more flexibile aggregator 2024-01-22 16:02:35 -05:00
Moishe Lettvin
95c92e5304 Aggregators for LLM messages 2024-01-22 10:59:13 -05:00
Moishe Lettvin
ccd2fa31e5 Rename 'theoretical-to-real' samples to 'foundational' 2024-01-19 13:57:52 -05:00
Moishe Lettvin
6ae733ebfe Cleanup: no more sentence aggregator, let the TTS service deal with that; also removed the queue typing stuff from ai_services 2024-01-19 13:06:15 -05:00
Liza
1071dede1a Only initialize Daily once (#5) 2024-01-19 14:59:48 +01:00
Moishe Lettvin
ceeb93dd46 Clean up example 5 2024-01-18 11:58:08 -05:00
Moishe Lettvin
0245f98eb5 update fal image_gen to use size in constructor 2024-01-18 11:29:13 -05:00
Moishe Lettvin
f9f2e2d7ea stop_when_done 2024-01-18 11:22:06 -05:00
Moishe Lettvin
0d21768d00 Fix example 5 2024-01-18 11:22:02 -05:00
Moishe Lettvin
13f2f792af refactor party tonight 2024-01-18 11:21:38 -05:00
Moishe Lettvin
a3ac0d84e8 working on making services more consistent/terse/easy 2024-01-18 11:20:56 -05:00
chadbailey59
6e8ebbd34c fal.ai integration (#3)
* fal.ai image gen

* some sample and readme updates

* holy cow this is fast

* basic image-gen working

* starting audio prompt and reset

* short confirmation words

* moved fal module to pyproject.toml

---------

Co-authored-by: Moishe Lettvin <moishel@gmail.com>
2024-01-17 12:08:00 -06:00
Moishe Lettvin
115b744861 input/output -> receive/send queues, for transport service 2024-01-16 21:11:38 -05:00
Moishe Lettvin
755059c358 a little cleanup 2024-01-16 19:58:11 -05:00
Moishe Lettvin
cfaccefe9c some sample and readme updates 2024-01-12 16:22:03 -05:00
Moishe Lettvin
5b49597854 Pass entire transcription message on queue; don't respond to yourself in 06- 2024-01-12 13:54:55 -05:00
Moishe Lettvin
869d557ded remove mistakenly added import: 2024-01-12 13:49:34 -05:00
Moishe Lettvin
9bbfc8ad05 Updating 06- sample 2024-01-12 11:40:49 -05:00
Moishe Lettvin
ad427bea3a Update 05- sample, sticking with generators here because they give us a lot more control over the order that things get queued. 2024-01-12 10:47:03 -05:00
Moishe Lettvin
ec1f2362c5 add on_first_other_participant_joined event 2024-01-12 08:39:56 -05:00
Moishe Lettvin
37207745c9 Remove some unused variables 2024-01-11 19:40:19 -05:00
Moishe Lettvin
b9b82695c6 Adding queue transportation to services 2024-01-11 19:14:19 -05:00
Moishe Lettvin
7ca7764be3 a little cleanup 2024-01-10 21:14:55 -05:00