Locutusque commited on
Commit
048ff10
·
verified ·
1 Parent(s): 251f910

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=8192,
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).",