Spaces:
Running
on
T4
Running
on
T4
Allow for longer references.
Browse files
app.py
CHANGED
@@ -220,7 +220,7 @@ def predict(
|
|
220 |
(
|
221 |
gpt_cond_latent,
|
222 |
speaker_embedding,
|
223 |
-
) = model.get_conditioning_latents(audio_path=speaker_wav)
|
224 |
except Exception as e:
|
225 |
print("Speaker encoding error", str(e))
|
226 |
gr.Warning(
|
|
|
220 |
(
|
221 |
gpt_cond_latent,
|
222 |
speaker_embedding,
|
223 |
+
) = model.get_conditioning_latents(audio_path=speaker_wav, gpt_cond_len=30, max_ref_length=30)
|
224 |
except Exception as e:
|
225 |
print("Speaker encoding error", str(e))
|
226 |
gr.Warning(
|