Avoid user to use a 0. repetition penalty

#37
by VictorSanh - opened
Files changed (1) hide show
  1. app_dialogue.py +1 -1
app_dialogue.py CHANGED
@@ -423,7 +423,7 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
423
  label="Maximum number of new tokens to generate",
424
  )
425
  repetition_penalty = gr.Slider(
426
- minimum=0.0,
427
  maximum=5.0,
428
  value=1.0,
429
  step=0.01,
 
423
  label="Maximum number of new tokens to generate",
424
  )
425
  repetition_penalty = gr.Slider(
426
+ minimum=0.01,
427
  maximum=5.0,
428
  value=1.0,
429
  step=0.01,