MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS-TTS / finish

Method finish

moss_tts_realtime/fast_api.py:133–138  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 self.callbacks.on_audio_stream_start()
132
133 def finish(self) -> None:
134 if self._finished:
135 return
136 self._finished = True
137 if self._started and self.callbacks.on_audio_stream_stop:
138 self.callbacks.on_audio_stream_stop()
139
140 def decode_frames(self, audio_frames: list[torch.Tensor]) -> Iterator[np.ndarray]:
141 for frame in audio_frames:

Callers 4

flushMethod · 0.95
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected