Commit Graph

17 Commits

Author SHA1 Message Date
Freddy Boulton
1877720231 Add text mode (#321)
* Pretty good spot

* Working draft

* Fix other mode

* Add js to git

* Working

* Add code

* fix

* Fix

* Add code

* Fix submit race condition

* demo

* fix

* Fix

* Fix
2025-06-03 19:24:21 -04:00
Sofia Casadei
6f02a2f2a9 chunk speech after s if no pause detected by VAD (#328)
* chunk speech after s if no pause detected by VAD

* add attr descriptions in AlgoOptions

* Fix

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
2025-05-27 14:54:33 -04:00
Marcus Valtonen Örnhag
f70b27bd41 Enforce modern typing (#258)
* Allow UP

* Upgrade typing

* test smolagents

* Change to contextlib

---------

Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
2025-04-08 16:46:12 -04:00
Erik Wasmosy
a07e9439b6 Add started_talking log message in ReplyOnPause and in api.md (#260) 2025-04-07 17:35:53 -04:00
Freddy Boulton
3147b5979c Add API Reference and llms.txt (#256)
* stream api reference

* docs

* Add code

* Add code

* code
2025-04-04 15:32:06 -04:00
Freddy Boulton
8dd17d3216 Add ability to trigger ReplyOnPause without waiting for pause (#250)
* Add code

* Send text or audio demo
2025-04-03 20:19:50 -04:00
Freddy Boulton
d07bb41a9e Fix (#242) 2025-04-02 18:31:08 -04:00
Václav Volhejn
06885d06c4 Ignore output_frame_size parameter (#210) 2025-04-01 14:10:27 -04:00
Sofian Mejjoute
66f0a81b76 feat: Add optional startup function to ReplyOnPause (#170)
* feat: Add optional startup function to ReplyOnPause

* feat: Implement startup_fn in ReplyOnStopWords

* refactor: Remove redundant startup_fn implementation in ReplyOnStopWords

* tweaks

* revert

---------

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2025-03-11 19:11:29 -04:00
Sourabh
de95bc2caa fix: ensure 'model' is copied in ReplyOnPause.copy() (#155) 2025-03-10 11:44:43 -04:00
Freddy Boulton
cbbfa17679 Add Method for loading community Vad Models (#136)
* Add code

* add code
2025-03-07 16:27:18 -05:00
Freddy Boulton
8f6287cea3 Improve Interruption Handling (#134)
* Clear websocket queue on interrupt

* add code
2025-03-06 13:42:56 -05:00
Freddy Boulton
6517a93472 Clean up cancelled generators (#124)
* fix links

* fix upload

* add code

* Add code

---------

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
2025-03-04 18:08:10 -05:00
Freddy Boulton
6ea54777af ReplyOnPause and ReplyOnStopWords can be interrupted (#119)
* Add all this code

* add code

* Fix demo

---------

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
2025-03-03 21:47:16 -05:00
Freddy Boulton
9cc0278985 Video Bugfix + generator (#96)
* Code

* Fix demo

* move to init

---------

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
2025-02-27 12:30:19 -05:00
Freddy Boulton
5a4693ee0b Raise errors automatically (#69)
* Add auto errors

* change code

---------

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
2025-02-24 20:21:25 -05:00
Freddy Boulton
853d6a06b5 Rebrand to FastRTC (#60)
* Add code

* add code

* add code

* Rename messages

* rename

* add code

* Add demo

* docs + demos + bug fixes

* add code

* styles

* user guide

* Styles

* Add code

* misc docs updates

* print nit

* whisper + pr

* url for images

* whsiper update

* Fix bugs

* remove demo files

* version number

* Fix pypi readme

* Fix

* demos

* Add llama code editor

* Update llama code editor and object detection cookbook

* Add more cookbook demos

* add code

* Fix links for PR deploys

* add code

* Fix the install

* add tts

* TTS docs

* Typo

* Pending bubbles for reply on pause

* Stream redesign (#63)

* better error handling

* Websocket error handling

* add code

---------

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>

* remove docs from dist

* Some docs typos

* more typos

* upload changes + docs

* docs

* better phone

* update docs

* add code

* Make demos better

* fix docs + websocket start_up

* remove mention of FastAPI app

* fastphone tweaks

* add code

* ReplyOnStopWord fixes

* Fix cookbook

* Fix pypi readme

* add code

* bump versions

* sambanova cookbook

* Fix tags

* Llm voice chat

* kyutai tag

* Add error message to all index.html

* STT module uses Moonshine

* Not required from typing extensions

* fix llm voice chat

* Add vpn warning

* demo fixes

* demos

* Add more ui args and gemini audio-video

* update cookbook

* version 9

---------

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
2025-02-24 01:13:42 -05:00