mbarnig commited on
Commit
87667c1
β€’
1 Parent(s): a0edb0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -27,9 +27,9 @@ TRANSLATION_DIRECTION = [
27
  EXAMPLE = "..."
28
 
29
  my_inputs = [
30
- gr.Textbox(lines=5, label="Input", default=default_input),
31
- gr.Radio(label="Translation Model", choices = TRANSLATION_MODELS, default = "NLLB"),
32
- gr.Radio(label="Translation Direction", choices = TRANSLATION_DIRECTION, default = "lb -> en")
33
  ]
34
 
35
  my_output = gr.Textbox(lines=5, label="Translation")
 
27
  EXAMPLE = "..."
28
 
29
  my_inputs = [
30
+ gr.Textbox(lines=5, label="Input", value=default_input),
31
+ gr.Radio(label="Translation Model", choices = TRANSLATION_MODELS, value = "NLLB"),
32
+ gr.Radio(label="Translation Direction", choices = TRANSLATION_DIRECTION, value = "lb -> en")
33
  ]
34
 
35
  my_output = gr.Textbox(lines=5, label="Translation")