Spaces:
Sleeping
Sleeping
revverted to old app.py
Browse files
app.py
CHANGED
@@ -69,11 +69,11 @@ def main():
|
|
69 |
with open(f"{voices_dir}voice_sample{index}.wav", "wb") as wav_file:
|
70 |
wav_file.write(bytes_data)
|
71 |
|
72 |
-
# Generate conditioning latents and samples here
|
73 |
-
voice_samples, conditioning_latents = generate_conditioning(voices_dir)
|
74 |
|
75 |
-
# Save the conditioning latents and samples
|
76 |
-
save_conditioning(voices_dir, voice_samples, conditioning_latents)
|
77 |
|
78 |
st.session_state["text_input_key"] = str(randint(1000, 100000000))
|
79 |
st.session_state["file_uploader_key"] = str(randint(1000, 100000000))
|
|
|
69 |
with open(f"{voices_dir}voice_sample{index}.wav", "wb") as wav_file:
|
70 |
wav_file.write(bytes_data)
|
71 |
|
72 |
+
# # Generate conditioning latents and samples here
|
73 |
+
# voice_samples, conditioning_latents = generate_conditioning(voices_dir)
|
74 |
|
75 |
+
# # Save the conditioning latents and samples
|
76 |
+
# save_conditioning(voices_dir, voice_samples, conditioning_latents)
|
77 |
|
78 |
st.session_state["text_input_key"] = str(randint(1000, 100000000))
|
79 |
st.session_state["file_uploader_key"] = str(randint(1000, 100000000))
|