Skip to content

Commit ba25b27

Browse files
committed
fix issues with PR suggestions
1 parent e7c83c1 commit ba25b27

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/pipecat/services/hathora

src/pipecat/services/hathora/tts.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,14 @@ def __init__(
7878
"""
7979
super().__init__(
8080
**kwargs,
81+
voice_id=voice_id,
8182
)
8283
self._model = model
83-
self._voice = voice
8484
self._speed = speed
8585
self._model_config = model_config
8686
self._base_url = base_url
8787
self._api_key = api_key or os.getenv("HATHORA_API_KEY")
8888

89-
@traced_tts
9089
async def run_tts(self, text: str) -> AsyncGenerator[Frame, None]:
9190
"""Run text-to-speech synthesis on the provided text.
9291

0 commit comments

Comments
 (0)