yxmauw commited on
Commit
0e3a88c
·
verified ·
1 Parent(s): 0e44eff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ def generate_response(model_name, message, chat_history):
17
 
18
  # Create Gradio UI
19
  with gr.Blocks(
20
- css=".contain { display: flex !important; flex-direction: column !important; width: 90vw !important; max-width: 100% !important; margin: 0 auto !important; }"
21
  "#chatbot { flex-grow: 1 !important; overflow: auto !important; }"
22
  "#col { height: calc(100vh - 112px - 16px) !important; }"
23
  "#submit:hover { background-color: green !important; }"
@@ -43,7 +43,7 @@ with gr.Blocks(
43
 
44
 
45
  with gr.Column(scale=4, elem_id='col'):
46
- chatbot = gr.Chatbot(label="Chatroom", value=[(None, "How may I help you today?")], elem_id="chatbot")
47
 
48
  with gr.Row():
49
  message = gr.Textbox(label="Message", scale=10)
 
17
 
18
  # Create Gradio UI
19
  with gr.Blocks(
20
+ css=".contain { display: flex !important; flex-direction: column !important; }"
21
  "#chatbot { flex-grow: 1 !important; overflow: auto !important; }"
22
  "#col { height: calc(100vh - 112px - 16px) !important; }"
23
  "#submit:hover { background-color: green !important; }"
 
43
 
44
 
45
  with gr.Column(scale=4, elem_id='col'):
46
+ chatbot = gr.Chatbot(label="Chatroom", value=[(None, "How may I help you today?")], elem_id="chatbot", scale=10)
47
 
48
  with gr.Row():
49
  message = gr.Textbox(label="Message", scale=10)