lengyue233 commited on
Commit
7d47bb6
1 Parent(s): a4dbd99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -353,12 +353,12 @@ def build_app():
353
 
354
  max_new_tokens = gr.Slider(
355
  label=i18n(
356
- "Maximum tokens per batch, 0 means no limit"
357
  ),
358
- minimum=0,
359
  maximum=2048,
360
- value=0,
361
- step=8,
362
  )
363
 
364
  with gr.Row():
 
353
 
354
  max_new_tokens = gr.Slider(
355
  label=i18n(
356
+ "Maximum tokens per batch"
357
  ),
358
+ minimum=512,
359
  maximum=2048,
360
+ value=1024,
361
+ step=64,
362
  )
363
 
364
  with gr.Row():