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

Method __exit__

moss_tts_local_v1.5/streaming.py:590–593  ·  view source on GitHub ↗
(self, exc_type, exc, tb)

Source from the content-addressed store, hash-verified

588 return self
589
590 def __exit__(self, exc_type, exc, tb) -> None:
591 if self._ctx is not None:
592 self._ctx.__exit__(exc_type, exc, tb)
593 self._ctx = None
594
595 @torch.inference_mode()
596 def decode_codes(self, codes: torch.LongTensor) -> torch.Tensor:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected