Update app.py
Browse files
app.py
CHANGED
|
@@ -232,7 +232,7 @@ def predict(
|
|
| 232 |
(
|
| 233 |
gpt_cond_latent,
|
| 234 |
speaker_embedding,
|
| 235 |
-
) = model.get_conditioning_latents(audio_path=speaker_wav, gpt_cond_len=30, max_ref_length=60)
|
| 236 |
except Exception as e:
|
| 237 |
print("Speaker encoding error", str(e))
|
| 238 |
gr.Warning(
|
|
|
|
| 232 |
(
|
| 233 |
gpt_cond_latent,
|
| 234 |
speaker_embedding,
|
| 235 |
+
) = model.get_conditioning_latents(audio_path=speaker_wav, gpt_cond_len=30, gpt_cond_chunk_len=4, max_ref_length=60)
|
| 236 |
except Exception as e:
|
| 237 |
print("Speaker encoding error", str(e))
|
| 238 |
gr.Warning(
|