(self, pred_semantic, vits_wav_path, prompt_text, prompt_language, text, text_language, cut_punc, speed, inp_refs, scaling_factor)
| 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 |
no test coverage detected