Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -251,7 +251,7 @@ with gr.Blocks(css=css) as demo:
|
|
251 |
max_new_tokens = gr.Slider(
|
252 |
label="Max New Tokens (Audio Length)",
|
253 |
minimum=860,
|
254 |
-
maximum=
|
255 |
value=model.config.data.audio_length, # Use config default if available, else fallback
|
256 |
step=50,
|
257 |
info="Controls the maximum length of the generated audio (more tokens = longer audio).",
|
|
|
251 |
max_new_tokens = gr.Slider(
|
252 |
label="Max New Tokens (Audio Length)",
|
253 |
minimum=860,
|
254 |
+
maximum=16000,
|
255 |
value=model.config.data.audio_length, # Use config default if available, else fallback
|
256 |
step=50,
|
257 |
info="Controls the maximum length of the generated audio (more tokens = longer audio).",
|