egosumkira commited on
Commit
ea58b06
1 Parent(s): 0381061

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,8 +30,7 @@ iface = gr.Interface(generate,
30
  inputs = [
31
  gr.Textbox(label="Keywords (comma separated)"),
32
  gr.inputs.Slider(0, 2, default=1.0, step=0.05, label="Temperature"),
33
- gr.Number(label="Max lenght", value=128),
34
- gr.inputs.Slider(1, 10, default=3, label="Number of beams in Beam Search", step=1)
35
  ],
36
  outputs = gr.Textbox(label="Output"),
37
  title=title,
 
30
  inputs = [
31
  gr.Textbox(label="Keywords (comma separated)"),
32
  gr.inputs.Slider(0, 2, default=1.0, step=0.05, label="Temperature"),
33
+ gr.inputs.Slider(1, 10, default=3, label="Number of beams", step=1)
 
34
  ],
35
  outputs = gr.Textbox(label="Output"),
36
  title=title,