Spaces:
Running
Running
loading conditioning latents during voice creation
Browse files
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))
|