timdpaep commited on
Commit
8ab7dc3
1 Parent(s): 1085223

Changed language

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def translate_nl_en(text):
12
  with gr.Blocks() as demo:
13
  nl_text = gr.Textbox(label="NL")
14
  en_text = gr.Textbox(label="EN")
15
- translate_button = gr.Button("Translate")
16
  translate_button.click(translate_nl_en, inputs=nl_text, outputs=en_text, api_name=translate_nl_en)
17
 
18
  demo.launch()
 
12
  with gr.Blocks() as demo:
13
  nl_text = gr.Textbox(label="NL")
14
  en_text = gr.Textbox(label="EN")
15
+ translate_button = gr.Button("Vertaal")
16
  translate_button.click(translate_nl_en, inputs=nl_text, outputs=en_text, api_name=translate_nl_en)
17
 
18
  demo.launch()