MCPcopy Create free account
hub / github.com/FireRedTeam/FireRedTTS2 / __init__

Method __init__

fireredtts2/codec/model.py:198–208  ·  view source on GitHub ↗
(self, codec: RedCodec)

Source from the content-addressed store, hash-verified

196
197class RedCodecInfer(RedCodec):
198 def __init__(self, codec: RedCodec):
199 super().__init__(
200 codec.ssl,
201 codec.ssl_adaptor,
202 codec.acoustic_encoder,
203 codec.downsample,
204 codec.rvq,
205 codec.upsample,
206 codec.semantic_decoder,
207 codec.acoustic_decoder,
208 )
209
210 @classmethod
211 def from_pretrained(cls, conf_path: str, ckpt_path: str) -> "RedCodecInfer":

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected