Spaces:
Runtime error
Runtime error
revert
Browse files
app.py
CHANGED
|
@@ -77,8 +77,8 @@ 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(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))
|
| 84 |
st.session_state["file_uploader_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))
|
| 84 |
st.session_state["file_uploader_key"] = str(randint(1000, 100000000))
|