Spaces:
Runtime error
Runtime error
Update src/chatterbox/mtl_tts.py
Browse files
src/chatterbox/mtl_tts.py
CHANGED
|
@@ -285,7 +285,7 @@ class ChatterboxMultilingualTTS:
|
|
| 285 |
speech_tokens = self.t3.inference(
|
| 286 |
t3_cond=self.conds.t3,
|
| 287 |
text_tokens=text_tokens,
|
| 288 |
-
max_new_tokens=
|
| 289 |
temperature=temperature,
|
| 290 |
cfg_weight=cfg_weight,
|
| 291 |
repetition_penalty=repetition_penalty,
|
|
|
|
| 285 |
speech_tokens = self.t3.inference(
|
| 286 |
t3_cond=self.conds.t3,
|
| 287 |
text_tokens=text_tokens,
|
| 288 |
+
max_new_tokens=1000, # TODO: use the value in config
|
| 289 |
temperature=temperature,
|
| 290 |
cfg_weight=cfg_weight,
|
| 291 |
repetition_penalty=repetition_penalty,
|