jayant012 commited on
Commit
d9c9a88
·
verified ·
1 Parent(s): 1de6c7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
39
  gr.HTML("<h4 align = 'center'> Translate to any language </h4>")
40
 
41
  inputs = [gr.Textbox(label = "Enter the text that you want to translate"), gr.Textbox(label = "Enter the language that you want it to translate to", placeholder = "Example : Hindi,French,Bengali,etc")]
42
- generate_btn = gr.Button(value = 'Generate')
43
  outputs = [gr.Textbox(label = "Translated text")]
44
  generate_btn.click(fn = text_translator, inputs= inputs, outputs = outputs)
45
 
 
39
  gr.HTML("<h4 align = 'center'> Translate to any language </h4>")
40
 
41
  inputs = [gr.Textbox(label = "Enter the text that you want to translate"), gr.Textbox(label = "Enter the language that you want it to translate to", placeholder = "Example : Hindi,French,Bengali,etc")]
42
+ generate_btn = gr.Button(value = 'Translate')
43
  outputs = [gr.Textbox(label = "Translated text")]
44
  generate_btn.click(fn = text_translator, inputs= inputs, outputs = outputs)
45