eradhea commited on
Commit
672ac4d
1 Parent(s): ef79eae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -29,14 +29,14 @@ with gr.Blocks() as app:
29
 
30
  with gr.Row():
31
  with gr.Column(scale=0.3):
32
- username = gr.Textbox(show_label=False,placeholder='Tu nickname')
33
  with gr.Column(scale=1):
34
- message = gr.Textbox(placeholder='Tu mensaje',show_label=False)
35
  message.submit(fn=combinar,inputs=[username,message],outputs=chat)
36
  message.submit(fn=vaciar,outputs=message)
37
 
38
 
39
- boton = gr.Button('Enviar mensaje',live=True)
40
  boton.click(fn=combinar,inputs=[username,message],outputs=chat)
41
  boton.click(fn=vaciar,outputs=message)
42
 
 
29
 
30
  with gr.Row():
31
  with gr.Column(scale=0.3):
32
+ username = gr.Textbox(show_label=False,placeholder='Your nickname')
33
  with gr.Column(scale=1):
34
+ message = gr.Textbox(placeholder='Your message',show_label=False)
35
  message.submit(fn=combinar,inputs=[username,message],outputs=chat)
36
  message.submit(fn=vaciar,outputs=message)
37
 
38
 
39
+ boton = gr.Button('Send message',live=True)
40
  boton.click(fn=combinar,inputs=[username,message],outputs=chat)
41
  boton.click(fn=vaciar,outputs=message)
42