erogol commited on
Commit
5b80d32
1 Parent(s): c9f9e21

Allow for longer references.

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