Afeezee commited on
Commit
3f4d2ea
·
verified ·
1 Parent(s): dea2412

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,11 +29,11 @@ interface = gr.Interface(
29
  inputs=[
30
  gr.Textbox(label="Input Text"),
31
  gr.Dropdown(choices=language_options, label="From Language", value="English"), # Use 'value' instead of 'default'
32
- gr.Dropdown(choices=language_options, label="To Language", value="Yoruba") # Use 'value' instead of 'default'
33
  ],
34
  outputs="text",
35
  title="Polyglotta Multilingual Translator",
36
- description="Translate text between different languages. Select the source language from which you want to translate and the target language to which you want the text translated. The default target language is set to Yoruba, but you can select any language pair according to your needs."
37
 
38
  )
39
 
 
29
  inputs=[
30
  gr.Textbox(label="Input Text"),
31
  gr.Dropdown(choices=language_options, label="From Language", value="English"), # Use 'value' instead of 'default'
32
+ gr.Dropdown(choices=language_options, label="To Language", value="French") # Use 'value' instead of 'default'
33
  ],
34
  outputs="text",
35
  title="Polyglotta Multilingual Translator",
36
+ description="Translate text between different languages. Select the source language from which you want to translate and the target language to which you want the text translated. The default target language is set to French, but you can select any language pair according to your needs."
37
 
38
  )
39