mrs83 commited on
Commit
3a61f02
·
verified ·
1 Parent(s): df810ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,12 +45,12 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
45
  demo = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
- gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
49
- gr.Slider(minimum=0.1, maximum=4.0, value=0.5, step=0.1, label="Temperature"),
50
  gr.Slider(
51
  minimum=0.1,
52
  maximum=1.0,
53
- value=0.70,
54
  step=0.05,
55
  label="Top-p (nucleus sampling)",
56
  ),
 
45
  demo = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
+ gr.Slider(minimum=1, maximum=1024, value=512, step=1, label="Max new tokens"),
49
+ gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
50
  gr.Slider(
51
  minimum=0.1,
52
  maximum=1.0,
53
+ value=0.95,
54
  step=0.05,
55
  label="Top-p (nucleus sampling)",
56
  ),