leadingbridge commited on
Commit
be2d5d0
1 Parent(s): 8151f8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ with gr.Blocks() as demo:
100
  inputs = gr.Textbox(placeholder="Enter a Short sentence to translate to English here.")
101
  outputs = gr.Textbox(label="Translation Result")
102
  proceed_button = gr.Button("Translate")
103
- proceed_button.click(fn=translate_to_chinese, inputs=inputs, outputs=outputs)
104
 
105
 
106
 
 
100
  inputs = gr.Textbox(placeholder="Enter a Short sentence to translate to English here.")
101
  outputs = gr.Textbox(label="Translation Result")
102
  proceed_button = gr.Button("Translate")
103
+ proceed_button.click(fn=translate_to_english, inputs=inputs, outputs=outputs)
104
 
105
 
106