Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ with gr.Blocks() as demo:
|
|
| 30 |
output1 = gr.Textbox(label="Texto resumido y traducido")
|
| 31 |
output2 = gr.Textbox(label="Texto completo y traducido")
|
| 32 |
sumbtn = gr.Button("Resumir y traducir")
|
| 33 |
-
sumbtn.click(fn=traducir, inputs = text, outputs =
|
| 34 |
# demo = gr.Interface(
|
| 35 |
# fn=traducir,
|
| 36 |
# inputs=[gr.Textbox(label="Texto")],
|
|
|
|
| 30 |
output1 = gr.Textbox(label="Texto resumido y traducido")
|
| 31 |
output2 = gr.Textbox(label="Texto completo y traducido")
|
| 32 |
sumbtn = gr.Button("Resumir y traducir")
|
| 33 |
+
sumbtn.click(fn=traducir, inputs = text, outputs = [output1,output2])
|
| 34 |
# demo = gr.Interface(
|
| 35 |
# fn=traducir,
|
| 36 |
# inputs=[gr.Textbox(label="Texto")],
|