Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,8 +37,10 @@ def create_interface():
|
|
37 |
|
38 |
# Input field with button inside
|
39 |
with gr.Row():
|
40 |
-
|
41 |
-
|
|
|
|
|
42 |
|
43 |
# Settings section
|
44 |
with gr.Accordion("⚙️ Settings", open=False):
|
|
|
37 |
|
38 |
# Input field with button inside
|
39 |
with gr.Row():
|
40 |
+
with gr.Column(scale=1): # Input field takes most of the space
|
41 |
+
message = gr.Textbox(placeholder="Type a message...", lines=1, show_label=False)
|
42 |
+
with gr.Column(scale=0): # Button takes minimal space
|
43 |
+
send_btn = gr.Button("➤", elem_id="send-button", scale=0.5) # Smaller button
|
44 |
|
45 |
# Settings section
|
46 |
with gr.Accordion("⚙️ Settings", open=False):
|