pan17
Results
1
comments of
pan17
我也遇到了,在frontend.py里面的frontend instruct2函数加个空字符串参数临时解决了。 def frontend_instruct2(self, tts_text, instruct_text, prompt_speech_16k, resample_rate): model_input = self.frontend_zero_shot(tts_text, instruct_text + '', prompt_speech_16k, resample_rate,"")#结尾加了个空的字符串参数 del model_input['llm_prompt_speech_token'] del model_input['llm_prompt_speech_token_len'] return model_input