Update app.py
Browse files
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;
|
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)
|