Horchatas commited on
Commit
0b1121c
·
verified ·
1 Parent(s): 94ecbe0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ def traducir(texto):
19
 
20
  demo = gr.Interface(
21
  fn=traducir,
22
- inputs=["text"],
23
- outputs=["text", "text"],
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()