gorkemgoknar commited on
Commit
f11243d
1 Parent(s): 6654a93

up to 60 seconds reference to use (was 30 secs)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -228,7 +228,7 @@ def predict(
228
  (
229
  gpt_cond_latent,
230
  speaker_embedding,
231
- ) = model.get_conditioning_latents(audio_path=speaker_wav, gpt_cond_len=30, max_ref_length=30)
232
  except Exception as e:
233
  print("Speaker encoding error", str(e))
234
  gr.Warning(
 
228
  (
229
  gpt_cond_latent,
230
  speaker_embedding,
231
+ ) = model.get_conditioning_latents(audio_path=speaker_wav, gpt_cond_len=30, max_ref_length=60)
232
  except Exception as e:
233
  print("Speaker encoding error", str(e))
234
  gr.Warning(