Spaces:
Running
on
A10G
Running
on
A10G
Update tools/api.py
#5
by
lengyue233
- opened
- 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=
|
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 |
)
|