rutsam commited on
Commit
6302ad4
1 Parent(s): a7ce701

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ gradio_ui= gr.Interface(
53
  gr.components.Textbox(label="Text"),
54
  gr.components.Dropdown(label="Source Language", choices=LANGS),
55
  gr.components.Dropdown(label="Target Language", choices=LANGS),
56
- gr.components.Slider(8, 512, value=400, step=8, label="Max Length")
57
  ],
58
  outputs=gr.outputs.Textbox(label="Translated text")
59
  )
 
53
  gr.components.Textbox(label="Text"),
54
  gr.components.Dropdown(label="Source Language", choices=LANGS),
55
  gr.components.Dropdown(label="Target Language", choices=LANGS),
56
+ gr.components.Slider(8, 400, value=400, step=8, label="Max Length")
57
  ],
58
  outputs=gr.outputs.Textbox(label="Translated text")
59
  )