mrm8488 commited on
Commit
6e4a8d2
1 Parent(s): bc6c852

Fix Slider

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -34,8 +34,7 @@ gr.Interface(
34
  gr.inputs.Textbox(label="Text"),
35
  gr.inputs.Dropdown(label="Source Language", choices=LANGS),
36
  gr.inputs.Dropdown(label="Target Language", choices=LANGS),
37
- gr.inputs.Slider(label="Max Length", minimum=8,
38
- maximum=512, value=400, step=8)
39
  ],
40
  ["text"],
41
  # examples=examples,
 
34
  gr.inputs.Textbox(label="Text"),
35
  gr.inputs.Dropdown(label="Source Language", choices=LANGS),
36
  gr.inputs.Dropdown(label="Target Language", choices=LANGS),
37
+ gr.inputs.Slider(8,512, default=400, step=8, label="Max Length")
 
38
  ],
39
  ["text"],
40
  # examples=examples,