ymren
Results
1
issues of
ymren
**原因描述** 当使用 `inference_instruct2` 自然语言推理时, 会将 ` instruct_text + ''` 作为` frontend_zero_shot` 函数的 `prompt_text`, 当调用 `cosyvoice.inference_instruct2` 并传入 `zero_shot_spk_id`,按照当前处理逻辑,将不会处理传入的 `prompt_text`,导致此时合成的语音中将混入 `zero_shot_spk_id` 注册时的 `prompt_text` ```python def frontend_instruct2(self, tts_text, instruct_text, prompt_speech_16k, resample_rate, zero_shot_spk_id): model_input...