Add append_trailing_space to all Rime websocket services
This was added in 31daa889e8, but only
to `RimeTTSService`, not to `RimeNonJsonTTSService. Bringing these
to parity means that users switching between the two, with the same
inputs, have more consistent vocalization behaviors.
This commit is contained in:
1
changelog/3837.fixed.md
Normal file
1
changelog/3837.fixed.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
- Fixed issues with `RimeNonJsonTTSService` where trailing punctuation is sometimes vocalized
|
||||||
@@ -846,6 +846,7 @@ class RimeNonJsonTTSService(InterruptibleTTSService):
|
|||||||
aggregate_sentences=aggregate_sentences,
|
aggregate_sentences=aggregate_sentences,
|
||||||
push_stop_frames=True,
|
push_stop_frames=True,
|
||||||
pause_frame_processing=True,
|
pause_frame_processing=True,
|
||||||
|
append_trailing_space=True,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
params = params or RimeNonJsonTTSService.InputParams()
|
params = params or RimeNonJsonTTSService.InputParams()
|
||||||
|
|||||||
Reference in New Issue
Block a user