Spaces:
Sleeping
Sleeping
Update app.py
#2
by
leadingbridge
- opened
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 |
|