Skip to content

Commit

Permalink
Update tts.py
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Sep 13, 2024
1 parent 173f25f commit 23e5d30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async def _main_task(self) -> None:
sample_rate=self._opts.audio_config.sample_rate_hertz, num_channels=1
)
for frame in decoder.decode_chunk(data):
for frame in bstream.write(frame):
for frame in bstream.write(frame.data):
self._event_ch.send_nowait(
tts.SynthesizedAudio(
request_id=request_id, segment_id=segment_id, frame=frame
Expand Down

0 comments on commit 23e5d30

Please sign in to comment.