SebastianBodza commited on
Commit
e2eda6f
·
verified ·
1 Parent(s): 9172a26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def infer(sample_audio_path, target_text, progress=gr.Progress()):
109
  # Generate the speech autoregressively
110
  outputs = model.generate(
111
  input_ids,
112
- max_length=1024, # We trained our model with a max length of 2048
113
  eos_token_id= speech_end_id ,
114
  do_sample=True,
115
  top_p=1,
 
109
  # Generate the speech autoregressively
110
  outputs = model.generate(
111
  input_ids,
112
+ max_length=2048, # We trained our model with a max length of 2048
113
  eos_token_id= speech_end_id ,
114
  do_sample=True,
115
  top_p=1,