erogol commited on
Commit
3ad2339
1 Parent(s): 44bdafb

Update app.py

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