yxmauw commited on
Commit
fec42e7
1 Parent(s): 2c6ae60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ def generate_response(model_name, message, chat_history):
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-y: auto !important; }"
22
  "#col { height: calc(100vh - 112px - 16px) !important; }"
23
  "#submit:hover { background-color: green !important; }"
24
  "#clear { background-color: darkred !important; }",
@@ -42,7 +42,7 @@ with gr.Blocks(
42
  gr.Textbox(value=f"{space_hardware()}\n2 vCPU • 16 GB RAM \nFree tier", label="Space Hardware use")
43
 
44
 
45
- with gr.Column(scale=4, elem_id='col', css="height: 80vh !important;"):
46
  chatbot = gr.Chatbot(label="Chatroom", value=[(None, "How may I help you today?")], elem_id="chatbot")
47
 
48
  with gr.Row():
 
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; height: 80vh !important; }"
22
  "#col { height: calc(100vh - 112px - 16px) !important; }"
23
  "#submit:hover { background-color: green !important; }"
24
  "#clear { background-color: darkred !important; }",
 
42
  gr.Textbox(value=f"{space_hardware()}\n2 vCPU • 16 GB RAM \nFree tier", label="Space Hardware use")
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():