srinivasbilla commited on
Commit
616cadd
Β·
verified Β·
1 Parent(s): 6ff754c

Update app.py

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