MCPcopy Create free account
hub / github.com/MYZY-AI/Muyan-TTS / handle

Method handle

sovits/process.py:232–238  ·  view source on GitHub ↗
(self, pred_semantic, vits_wav_path, prompt_text, prompt_language, text, text_language, cut_punc, speed, inp_refs, scaling_factor)

Source from the content-addressed store, hash-verified

230
231
232 def handle(self, pred_semantic, vits_wav_path, prompt_text, prompt_language, text, text_language, cut_punc, speed, inp_refs, scaling_factor):
233 if cut_punc == None:
234 text = cut_text(text, self.default_cut_punc)
235 else:
236 text = cut_text(text, cut_punc)
237 res = self.get_tts_wav(pred_semantic, vits_wav_path, prompt_text, prompt_language, text, text_language, speed, inp_refs, scaling_factor=scaling_factor)
238 return res

Callers 1

generateMethod · 0.80

Calls 2

get_tts_wavMethod · 0.95
cut_textFunction · 0.85

Tested by

no test coverage detected