Merge pull request #672 from pipecat-ai/mb/fix-playht

Fix PlayHT TTFB metrics
This commit is contained in:
Mark Backman
2024-10-30 13:53:02 -04:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -37,6 +37,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed an issue that was causing stuttering with AWS TTS service.
- Fixed an issue with PlayHTTTSService, where the TTFB metrics were reporting
very small time values.
## [0.0.47] - 2024-10-22
### Added

View File

@@ -293,8 +293,6 @@ class PlayHTTTSService(TTSService):
except Exception as e:
logger.error(f"{self} error generating TTS: {e}")
yield ErrorFrame(f"{self} error: {str(e)}")
finally:
await self.stop_all_metrics()
class PlayHTHttpTTSService(TTSService):