gcapde commited on
Commit
0294d47
1 Parent(s): 793f11e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -368,7 +368,7 @@ with gr.Blocks() as demo:
368
  </center>
369
  """.format(encoded_image))
370
  with gr.Row():
371
- chatbot = gr.Chatbot( height=550) #just to fit the notebook
372
  with gr.Row():
373
  with gr.Row():
374
  with gr.Column(scale=4):
@@ -377,9 +377,6 @@ with gr.Blocks() as demo:
377
  btn = gr.Button("Enviar")
378
  clear = gr.ClearButton(components=[msg, chatbot], value="Borrar chat")
379
 
380
-
381
-
382
-
383
  btn.click(respond, inputs=[msg, chatbot], outputs=[msg, chatbot])
384
  msg.submit(respond, inputs=[msg, chatbot], outputs=[msg, chatbot]) #Press enter to submit
385
  clear.click(clear_chat,inputs=[msg, chatbot], outputs=[msg, chatbot])
 
368
  </center>
369
  """.format(encoded_image))
370
  with gr.Row():
371
+ chatbot = gr.Chatbot(lines=10) #just to fit the notebook
372
  with gr.Row():
373
  with gr.Row():
374
  with gr.Column(scale=4):
 
377
  btn = gr.Button("Enviar")
378
  clear = gr.ClearButton(components=[msg, chatbot], value="Borrar chat")
379
 
 
 
 
380
  btn.click(respond, inputs=[msg, chatbot], outputs=[msg, chatbot])
381
  msg.submit(respond, inputs=[msg, chatbot], outputs=[msg, chatbot]) #Press enter to submit
382
  clear.click(clear_chat,inputs=[msg, chatbot], outputs=[msg, chatbot])