Kim Juwon commited on
Commit
fe65a7d
·
1 Parent(s): b7784d2

update UI/UX

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -112,15 +112,15 @@ with gr.Blocks() as demo:
112
  avatar_images=("👤", "🎬"),
113
  bubble_full_width=False
114
  )
115
- with gr.Row():
116
  msg = gr.Textbox(
117
  placeholder="What kind of movie are you looking for?",
118
  show_label=False,
119
- container=False
 
120
  )
121
- with gr.Row():
122
- submit = gr.Button("Send Chat", variant="primary", size="sm")
123
- clear = gr.Button("Clear Chat", size="sm")
124
 
125
  with gr.Column(scale=1):
126
  with gr.Group():
 
112
  avatar_images=("👤", "🎬"),
113
  bubble_full_width=False
114
  )
115
+ with gr.Row(equal_height=True):
116
  msg = gr.Textbox(
117
  placeholder="What kind of movie are you looking for?",
118
  show_label=False,
119
+ container=False,
120
+ min_width=400
121
  )
122
+ submit = gr.Button("Send Chat", variant="primary", min_width=100)
123
+ clear = gr.Button("Clear Chat", min_width=100)
 
124
 
125
  with gr.Column(scale=1):
126
  with gr.Group():