VictorSanh commited on
Commit
04d1ea7
1 Parent(s): 6eec9ff

Avoid user to use a 0. repetition penalty (#37)

Browse files

- Avoid user to use a 0. repetition penalty (ca5e8959f20087e30666cc7b17b4f1eea9fe9fca)

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,