debugging
Browse files
app.py
CHANGED
@@ -116,6 +116,6 @@ with gr.Blocks(theme=myTheme) as demo:
|
|
116 |
lang_select = gr.Radio(["English", "Chinese"], label="Select Desired Language")
|
117 |
result = gr.Textbox(label="Translated Result")
|
118 |
trans_btn = gr.Button("Translate")
|
119 |
-
trans_btn.click(fn=opus_trans, inputs=article, outputs=result)
|
120 |
|
121 |
demo.launch()
|
|
|
116 |
lang_select = gr.Radio(["English", "Chinese"], label="Select Desired Language")
|
117 |
result = gr.Textbox(label="Translated Result")
|
118 |
trans_btn = gr.Button("Translate")
|
119 |
+
trans_btn.click(fn=opus_trans, inputs=[article, lang_select], outputs=result)
|
120 |
|
121 |
demo.launch()
|