ayymen commited on
Commit
444c9fa
·
verified ·
1 Parent(s): 873434c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ gradio_ui= gr.Interface(
41
  fn=translate,
42
  title="NLLB Tamazight Translation Demo",
43
  inputs= [
44
- gr.components.Textbox(label="Text", lines=4, placeholder="ⵙⵙⴽⵖⵎ ⴰⴹⵕⵉⵚ...\nEnter text to translate..."),
45
  gr.components.Dropdown(label="Source Language", choices=LANGS, value="eng_Latn"),
46
  gr.components.Dropdown(label="Target Language", choices=LANGS, value="tzm_Tfng"),
47
  gr.components.Slider(8, 400, value=238, step=8, label="Max Length")
 
41
  fn=translate,
42
  title="NLLB Tamazight Translation Demo",
43
  inputs= [
44
+ gr.components.Textbox(label="Text", lines=4, placeholder="ⵙⵙⴽⵛⵎ ⴰⴹⵕⵉⵚ...\nEnter text to translate..."),
45
  gr.components.Dropdown(label="Source Language", choices=LANGS, value="eng_Latn"),
46
  gr.components.Dropdown(label="Target Language", choices=LANGS, value="tzm_Tfng"),
47
  gr.components.Slider(8, 400, value=238, step=8, label="Max Length")