zidsi commited on
Commit
4983f9e
·
1 Parent(s): 5ab747e

Fix defaults

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,13 +33,13 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
33
  demo = gr.ChatInterface(
34
  predict, type="messages",
35
  additional_inputs=[
36
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
37
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
38
  gr.Slider(
39
  minimum=0.1,
40
  maximum=1.0,
41
  value=0.95,
42
- step=0.05,
43
  label="Top-p (nucleus sampling)",
44
  ),
45
  ],
 
33
  demo = gr.ChatInterface(
34
  predict, type="messages",
35
  additional_inputs=[
36
+ gr.Slider(minimum=1, maximum=2048, value=256, step=1, label="Max new tokens"),
37
+ gr.Slider(minimum=0.1, maximum=1.0, value=0.8, step=0.05, label="Temperature"),
38
  gr.Slider(
39
  minimum=0.1,
40
  maximum=1.0,
41
  value=0.95,
42
+ step=0.01,
43
  label="Top-p (nucleus sampling)",
44
  ),
45
  ],