Spaces:
Runtime error
Runtime error
Commit
·
3d753a9
1
Parent(s):
94db9d5
top_p_max_val (#21)
Browse files- top p max value (111b5af9edbb3182f7f70881d04685aceb660eb6)
- top p min val (81f484d054c7d95abba2571142dc6ae37f5e543b)
Co-authored-by: Hugo Laurençon <[email protected]>
- app_dialogue.py +2 -2
app_dialogue.py
CHANGED
@@ -463,8 +463,8 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
|
|
463 |
outputs=temperature,
|
464 |
)
|
465 |
top_p = gr.Slider(
|
466 |
-
minimum=0.
|
467 |
-
maximum=
|
468 |
value=0.8,
|
469 |
step=0.01,
|
470 |
interactive=True,
|
|
|
463 |
outputs=temperature,
|
464 |
)
|
465 |
top_p = gr.Slider(
|
466 |
+
minimum=0.01,
|
467 |
+
maximum=0.99,
|
468 |
value=0.8,
|
469 |
step=0.01,
|
470 |
interactive=True,
|