Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def chat_interface():
|
|
39 |
type="messages" # Specify type for correct message format
|
40 |
)
|
41 |
|
42 |
-
with gr.Row(elem_id="input-row"):
|
43 |
with gr.Column(): # No 'min_width' argument here
|
44 |
input_textbox = gr.Textbox(
|
45 |
label="Type your message",
|
@@ -88,7 +88,7 @@ def chat_interface():
|
|
88 |
border-top: 1px solid #ddd;
|
89 |
}
|
90 |
#chat-box {
|
91 |
-
height: calc(100vh -
|
92 |
overflow-y: scroll;
|
93 |
}
|
94 |
#user-input, #send-btn {
|
|
|
39 |
type="messages" # Specify type for correct message format
|
40 |
)
|
41 |
|
42 |
+
with gr.Row(elem_id="input-row", min_width=600):
|
43 |
with gr.Column(): # No 'min_width' argument here
|
44 |
input_textbox = gr.Textbox(
|
45 |
label="Type your message",
|
|
|
88 |
border-top: 1px solid #ddd;
|
89 |
}
|
90 |
#chat-box {
|
91 |
+
height: calc(100vh - 150px); /* Adjust the height of chat history */
|
92 |
overflow-y: scroll;
|
93 |
}
|
94 |
#user-input, #send-btn {
|