modify the max_new_tokens - 8 min 1024 max

#29
by VictorSanh - opened
Files changed (1) hide show
  1. app_dialogue.py +2 -2
app_dialogue.py CHANGED
@@ -417,8 +417,8 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
417
  with gr.Row():
418
  with gr.Accordion("Advanced settings", open=False, visible=True) as parameter_row:
419
  max_new_tokens = gr.Slider(
420
- minimum=0,
421
- maximum=2048,
422
  value=512,
423
  step=1,
424
  interactive=True,
 
417
  with gr.Row():
418
  with gr.Accordion("Advanced settings", open=False, visible=True) as parameter_row:
419
  max_new_tokens = gr.Slider(
420
+ minimum=8,
421
+ maximum=1024,
422
  value=512,
423
  step=1,
424
  interactive=True,