vericudebuget commited on
Commit
d3c268a
·
verified ·
1 Parent(s): 0f03691

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -67,9 +67,12 @@ with gr.Blocks(theme=gr.themes.Soft(), css="""
67
  display: flex;
68
  align-items: center;
69
  }
 
 
 
70
  """) as app:
71
  with gr.Row(elem_id="row"):
72
- text_input = gr.Textbox(label="Your message", placeholder="Type your message...", lines=1, max_lines=1, css_classes="flex-grow")
73
  submit_btn = gr.Button(
74
  "send",
75
  variant="primary",
 
67
  display: flex;
68
  align-items: center;
69
  }
70
+ #text-input {
71
+ flex-grow: 1;
72
+ }
73
  """) as app:
74
  with gr.Row(elem_id="row"):
75
+ text_input = gr.Textbox(label="Your message", placeholder="Type your message...", lines=1, max_lines=1, elem_id="text-input")
76
  submit_btn = gr.Button(
77
  "send",
78
  variant="primary",