rutsam commited on
Commit
ae0f23f
·
1 Parent(s): 4f802fe
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def generate_audio(text):
26
  # raise NameError("model not found")
27
  tts = TTS(model_path="Kinyarwanda_YourTTS/model.pth",
28
  config_path="Kinyarwanda_YourTTS/config.json",
29
- tts_speakers_file="Kinyarwanda_YourTTS/speakers.pth"
30
  encoder_checkpoint="Kinyarwanda_YourTTS/SE_checkpoint.pth.tar",
31
  encoder_config="Kinyarwanda_YourTTS/config_se.json",)
32
  wav = tts.tts(text, speaker_wav="kinyarwanda_YourTTS/conditioning_audio.wav")
 
26
  # raise NameError("model not found")
27
  tts = TTS(model_path="Kinyarwanda_YourTTS/model.pth",
28
  config_path="Kinyarwanda_YourTTS/config.json",
29
+ tts_speakers_file="Kinyarwanda_YourTTS/speakers.pth",
30
  encoder_checkpoint="Kinyarwanda_YourTTS/SE_checkpoint.pth.tar",
31
  encoder_config="Kinyarwanda_YourTTS/config_se.json",)
32
  wav = tts.tts(text, speaker_wav="kinyarwanda_YourTTS/conditioning_audio.wav")