Merge pull request #2671 from pipecat-ai/mb/fix-asyncai-ttstextframe
fix: AsyncAITTSService wasn't pushing TTSTextFrames
This commit is contained in:
@@ -26,8 +26,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- `torch` and `torchaudio` are no longer required for running Smart Turn
|
- `torch` and `torchaudio` are no longer required for running Smart Turn
|
||||||
locally. This avoids gigabytes of dependencies being installed.
|
locally. This avoids gigabytes of dependencies being installed.
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- Updated `websockets` dependency to support version 15.0. Removed deprecated
|
- Updated `websockets` dependency to support version 15.0. Removed deprecated
|
||||||
usage of `ConnectionClosed.code` and `ConnectionClosed.reason` attributes in
|
usage of `ConnectionClosed.code` and `ConnectionClosed.reason` attributes in
|
||||||
`AWSTranscribeSTTService` for compatibility.
|
`AWSTranscribeSTTService` for compatibility.
|
||||||
@@ -44,10 +42,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed an issue in `AsyncAITTSService`, where `TTSTextFrames` were not being
|
||||||
|
pushed.
|
||||||
|
|
||||||
- Fixed an issue that would cause `push_interruption_task_frame_and_wait()` to
|
- Fixed an issue that would cause `push_interruption_task_frame_and_wait()` to
|
||||||
not wait if a previous interruption had already happened.
|
not wait if a previous interruption had already happened.
|
||||||
|
|
||||||
- Fixed a couple of bugs in `ServiceSwitcher`:
|
- Fixed a couple of bugs in `ServiceSwitcher`:
|
||||||
|
|
||||||
- Using multiple `ServiceSwitcher`s in a pipeline would result in an error.
|
- Using multiple `ServiceSwitcher`s in a pipeline would result in an error.
|
||||||
- `ServiceSwitcherFrame`s (such as `ManuallySwitchServiceFrame`s) were having
|
- `ServiceSwitcherFrame`s (such as `ManuallySwitchServiceFrame`s) were having
|
||||||
an effect too early, essentially "jumping the queue" in terms of pipeline
|
an effect too early, essentially "jumping the queue" in terms of pipeline
|
||||||
|
|||||||
@@ -119,7 +119,6 @@ class AsyncAITTSService(InterruptibleTTSService):
|
|||||||
"""
|
"""
|
||||||
super().__init__(
|
super().__init__(
|
||||||
aggregate_sentences=aggregate_sentences,
|
aggregate_sentences=aggregate_sentences,
|
||||||
push_text_frames=False,
|
|
||||||
pause_frame_processing=True,
|
pause_frame_processing=True,
|
||||||
push_stop_frames=True,
|
push_stop_frames=True,
|
||||||
sample_rate=sample_rate,
|
sample_rate=sample_rate,
|
||||||
|
|||||||
Reference in New Issue
Block a user