Spaces:
Sleeping
Sleeping
Commit ·
d77297e
1
Parent(s): ce08096
Fixed endless scroll bar
Browse files- interface.py +4 -1
interface.py
CHANGED
|
@@ -92,7 +92,10 @@ with gr.Blocks(css="""
|
|
| 92 |
msg_input = gr.Textbox(
|
| 93 |
placeholder="Type your message here...",
|
| 94 |
show_label=False,
|
| 95 |
-
container=False
|
|
|
|
|
|
|
|
|
|
| 96 |
)
|
| 97 |
with gr.Column(scale=1, min_width=100):
|
| 98 |
send_button = gr.Button("Send", variant="primary")
|
|
|
|
| 92 |
msg_input = gr.Textbox(
|
| 93 |
placeholder="Type your message here...",
|
| 94 |
show_label=False,
|
| 95 |
+
container=False,
|
| 96 |
+
lines=1,
|
| 97 |
+
max_lines=5,
|
| 98 |
+
autofocus=True
|
| 99 |
)
|
| 100 |
with gr.Column(scale=1, min_width=100):
|
| 101 |
send_button = gr.Button("Send", variant="primary")
|