Felladrin commited on
Commit
e056027
1 Parent(s): 99ab7c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ g = gr.Interface(
39
  gr.components.Textbox(lines=2, label="User Message", value="Tell me something curious about the Earth!"),
40
  gr.components.Slider(minimum=0, maximum=1, value=0.4, label="Temperature"),
41
  gr.components.Slider(minimum=0, maximum=1, value=0.25, label="Top p"),
42
- gr.components.Slider(minimum=0, maximum=100, step=1, value=7, label="Top k"),
43
  gr.components.Slider(minimum=1.0, maximum=1.5, step=0.001, value=1.0016, label="Repetition Penalty"),
44
  gr.components.Slider(minimum=1, maximum=1024, step=1, value=256, label="Max tokens"),
45
  ],
 
39
  gr.components.Textbox(lines=2, label="User Message", value="Tell me something curious about the Earth!"),
40
  gr.components.Slider(minimum=0, maximum=1, value=0.4, label="Temperature"),
41
  gr.components.Slider(minimum=0, maximum=1, value=0.25, label="Top p"),
42
+ gr.components.Slider(minimum=0, maximum=50, step=1, value=7, label="Top k"),
43
  gr.components.Slider(minimum=1.0, maximum=1.5, step=0.001, value=1.0016, label="Repetition Penalty"),
44
  gr.components.Slider(minimum=1, maximum=1024, step=1, value=256, label="Max tokens"),
45
  ],