Peter commited on
Commit
ca046ea
1 Parent(s): c11c281

dropdown is garbage

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -138,10 +138,8 @@ if __name__ == "__main__":
138
  gr.inputs.Slider(
139
  minimum=4, maximum=10, label="num_beams", default=4, step=1
140
  ),
141
- gr.Dropdown(
142
- choices=[512, 1024, 2048, 4096],
143
- label="token_batch_length",
144
- value=2048,
145
  ),
146
  gr.inputs.Slider(
147
  minimum=0.5, maximum=1.1, label="length_penalty", default=0.7, step=0.05
 
138
  gr.inputs.Slider(
139
  minimum=4, maximum=10, label="num_beams", default=4, step=1
140
  ),
141
+ gr.inputs.Slider(
142
+ minimum=512, maximum=4096, label="token_batch_length", default=2048, step=512,
 
 
143
  ),
144
  gr.inputs.Slider(
145
  minimum=0.5, maximum=1.1, label="length_penalty", default=0.7, step=0.05