Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,8 @@ def traducir(texto):
|
|
| 19 |
|
| 20 |
demo = gr.Interface(
|
| 21 |
fn=traducir,
|
| 22 |
-
inputs=["
|
| 23 |
-
outputs=["
|
| 24 |
)
|
| 25 |
|
| 26 |
demo.launch()
|
|
|
|
| 19 |
|
| 20 |
demo = gr.Interface(
|
| 21 |
fn=traducir,
|
| 22 |
+
inputs=[gr.Textbox(label="Texto")],
|
| 23 |
+
outputs=[gr.Textbox(label="Texto completo traducido"), gr.Textbox(label="Texto resumido traducido")],
|
| 24 |
)
|
| 25 |
|
| 26 |
demo.launch()
|