osanseviero commited on
Commit
45de332
1 Parent(s): 26359d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ gr.Interface(
53
  gr.inputs.Textbox(label="Input"),
54
  gr.inputs.Slider(1, 64, default=8, label="Tokens to generate"),
55
  gr.inputs.Slider(0.0, 1.0, default=0.1, step=0.05, label="Temperature"),
56
- gr.inputs.Slider(0, 64, default=0, label="Top K"),
57
  gr.inputs.Slider(0.0, 10, default=0.9, step=0.05, label="Top P"),
58
  gr.inputs.Checkbox(False, label="Greedy decoding"),
59
  ],
 
53
  gr.inputs.Textbox(label="Input"),
54
  gr.inputs.Slider(1, 64, default=8, label="Tokens to generate"),
55
  gr.inputs.Slider(0.0, 1.0, default=0.1, step=0.05, label="Temperature"),
56
+ gr.inputs.Slider(0, 64, default=0, step=1, label="Top K"),
57
  gr.inputs.Slider(0.0, 10, default=0.9, step=0.05, label="Top P"),
58
  gr.inputs.Checkbox(False, label="Greedy decoding"),
59
  ],