BICORP commited on
Commit
d647891
·
verified ·
1 Parent(s): c7fd7e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -37,8 +37,10 @@ def create_interface():
37
 
38
  # Input field with button inside
39
  with gr.Row():
40
- message = gr.Textbox(placeholder="Type a message...", lines=1, show_label=False)
41
- send_btn = gr.Button("", elem_id="send-button", scale=0.5) # Use scale to make the button smaller
 
 
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):