Merge pull request #672 from pipecat-ai/mb/fix-playht
Fix PlayHT TTFB metrics
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user