Files changed (1) hide show
  1. tools/api.py +1 -1
tools/api.py CHANGED
@@ -220,7 +220,7 @@ def inference(req: ServeTTSRequest):
220
  compile=args.compile,
221
  iterative_prompt=req.chunk_length > 0,
222
  chunk_length=req.chunk_length,
223
- max_length=2048,
224
  prompt_tokens=prompt_tokens,
225
  prompt_text=prompt_texts,
226
  )
 
220
  compile=args.compile,
221
  iterative_prompt=req.chunk_length > 0,
222
  chunk_length=req.chunk_length,
223
+ max_length=4096,
224
  prompt_tokens=prompt_tokens,
225
  prompt_text=prompt_texts,
226
  )