gcapde commited on
Commit
35052c3
1 Parent(s): 1b48ee9

Cambios interfaz.

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -71,9 +71,6 @@ def respond(message, chat_history):
71
  with gr.Blocks() as demo:
72
  gr.Markdown("""
73
  <center>
74
- <h1>
75
- Uso de AI para un chatbot.
76
- </h1>
77
  <img src='data:image/jpg;base64,{}' width=200px>
78
  <h3>
79
  En este espacio podrás interactuar con ChatGPT y su modelo GPT4!
@@ -81,7 +78,7 @@ with gr.Blocks() as demo:
81
  </center>
82
  """.format(encoded_image))
83
  with gr.Row():
84
- chatbot = gr.Chatbot() #just to fit the notebook
85
  with gr.Row():
86
  with gr.Row():
87
  with gr.Column(scale=4):
@@ -95,4 +92,4 @@ with gr.Blocks() as demo:
95
  clear.click(clear_chat,inputs=[msg, chatbot], outputs=[msg, chatbot])
96
 
97
  demo.queue()
98
- demo.launch(auth = ('Ceibal_IA', access_pwd))
 
71
  with gr.Blocks() as demo:
72
  gr.Markdown("""
73
  <center>
 
 
 
74
  <img src='data:image/jpg;base64,{}' width=200px>
75
  <h3>
76
  En este espacio podrás interactuar con ChatGPT y su modelo GPT4!
 
78
  </center>
79
  """.format(encoded_image))
80
  with gr.Row():
81
+ chatbot = gr.Chatbot(height=250) #just to fit the notebook
82
  with gr.Row():
83
  with gr.Row():
84
  with gr.Column(scale=4):
 
92
  clear.click(clear_chat,inputs=[msg, chatbot], outputs=[msg, chatbot])
93
 
94
  demo.queue()
95
+ demo.launch(auth = ('Ceibal_IA', access_pwd))