This commit is contained in:
mrq 2023-02-15 05:55:01 +00:00
parent 3e8365fdec
commit 5bf98de301

View File

@ -719,7 +719,7 @@ def setup_gradio():
inputs=None, inputs=None,
outputs=voice outputs=voice
) )
voice_latents_chunks = gr.Slider(label="Voice Chunks", minimum=1, maximum=32, value=1, step=1) voice_latents_chunks = gr.Slider(label="Voice Chunks", minimum=1, maximum=64, value=1, step=1)
recompute_voice_latents = gr.Button(value="(Re)Compute Voice Latents") recompute_voice_latents = gr.Button(value="(Re)Compute Voice Latents")
recompute_voice_latents.click(compute_latents, recompute_voice_latents.click(compute_latents,
inputs=[ inputs=[
@ -836,7 +836,7 @@ def setup_gradio():
if file[-4:] != ".wav": if file[-4:] != ".wav":
continue continue
metadata, _ = read_generate_settings(f"{outdir}/{file}", read_latents=False, use_json=True) metadata, _ = read_generate_settings(f"{outdir}/{file}", read_latents=False)
if metadata is None: if metadata is None:
continue continue