Merge pull request #4323 from dakshdua/daksh/allow-noninitial-whitespace-chunks
fix: when aggregating by tokens, allow inter-token whitespace once non-whitespace has been sent
This commit is contained in:
1
changelog/4323.fixed.md
Normal file
1
changelog/4323.fixed.md
Normal file
@@ -0,0 +1 @@
|
||||
- Fixed whitespace handling in TTS token streaming mode. Inter-token whitespace (e.g., spaces between words) is now preserved for correct prosody, while leading whitespace before the first non-whitespace token is still stripped to avoid issues with TTS models that are sensitive to leading spaces.
|
||||
Reference in New Issue
Block a user