djkesu commited on
Commit
537d84b
1 Parent(s): 77c96db

revverted to old app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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))