Spaces:
Sleeping
Sleeping
leadingbridge
commited on
Commit
•
c8ab75d
1
Parent(s):
8151f8b
Update app.py
Browse files
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=
|
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 |
|