barreloflube commited on
Commit
aab35a3
·
1 Parent(s): c637f12

Refactor gen_audio function in events.py

Browse files
Files changed (1) hide show
  1. tabs/audios/events.py +0 -1
tabs/audios/events.py CHANGED
@@ -170,7 +170,6 @@ def gen_audio(text, mode, sft_speaker = None, speaker_audio = None, voice_instru
170
 
171
  for i, j in enumerate(cv_sft.inference_zero_shot(
172
  tts_text=text,
173
- prompt_speech_16k=voice_instructions,
174
  prompt_speech_16k=prompt_speech_16k,
175
  )):
176
  torchaudio.save(
 
170
 
171
  for i, j in enumerate(cv_sft.inference_zero_shot(
172
  tts_text=text,
 
173
  prompt_speech_16k=prompt_speech_16k,
174
  )):
175
  torchaudio.save(