StevanLS commited on
Commit
522ca0e
·
1 Parent(s): a0cae89

Real time translation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def translate(output_language, input_text):
14
  interface = gr.Interface(fn=translate,
15
  inputs=[
16
  gr.Dropdown(['Spanish', 'Bengali', 'English', 'French'],
17
- label = 'Translation language'),
18
  gr.Textbox(lines=2, placeholder='Text to translate',
19
  label='Text')],
20
  outputs='text',
 
14
  interface = gr.Interface(fn=translate,
15
  inputs=[
16
  gr.Dropdown(['Spanish', 'Bengali', 'English', 'French'],
17
+ label = 'Select the translation language first'),
18
  gr.Textbox(lines=2, placeholder='Text to translate',
19
  label='Text')],
20
  outputs='text',