Yt Zhong b0c6ab8a93
Simple streaming return implementation, lower latency for the first sound. (#417)
* Add stream_return switch to get wavs from yield

* Add more_segment_before arg for more segmenting.

more_segment_before is a int, for token_index < more_segment_before, more segmenting will be applied.
0: no effect; 80 is recommended for better first-wav-latency

* Uncomment silence insertion

* fix: rename quick streaming tokens argument

* fix: rename quick streaming tokens argument

* fix: Add a wrapper for the yield function. It will not return a generator in normal condition.
2025-09-30 14:05:39 +08:00
..
2025-09-08 17:36:39 +08:00
2025-03-25 14:03:29 -04:00
2025-03-25 14:03:29 -04:00
2025-03-25 14:03:29 -04:00
2025-09-08 17:36:39 +08:00
2025-09-08 17:36:39 +08:00
2025-09-08 17:36:39 +08:00
2025-03-25 12:52:52 +08:00
2025-03-25 14:03:29 -04:00