djkesu commited on
Commit
15b6f14
1 Parent(s): c5fa72a

loading conditioning latents during voice creation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def main():
77
  # # Save the conditioning latents and samples
78
  # save_conditioning(voices_dir, voice_samples, conditioning_latents)
79
 
80
- conditioning_latents = TextToSpeech.get_conditioning_latents(voice_samples=voice_samples)
81
  print(voice_samples, conditioning_latents)
82
 
83
  st.session_state["text_input_key"] = str(randint(1000, 100000000))
 
77
  # # Save the conditioning latents and samples
78
  # save_conditioning(voices_dir, voice_samples, conditioning_latents)
79
 
80
+ conditioning_latents = TextToSpeech.get_conditioning_latents(new_voice_name, voice_samples=voice_samples)
81
  print(voice_samples, conditioning_latents)
82
 
83
  st.session_state["text_input_key"] = str(randint(1000, 100000000))