ffreemt commited on
Commit
d6e2e66
1 Parent(s): 1e925eb

Change layout

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -89,7 +89,7 @@ theme = gr.themes.Soft(text_size="sm")
89
  with gr.Blocks(theme=theme) as block:
90
  chatbot = gr.Chatbot()
91
 
92
- with gr.Row():
93
  with gr.Column(scale=12):
94
  msg = gr.Textbox()
95
  _ = """
@@ -101,13 +101,13 @@ with gr.Blocks(theme=theme) as block:
101
  dt = gr.Textbox(label="Current time")
102
  # """
103
  with gr.Column(scale=1, min_width=100):
104
- with gr.Row():
105
  with gr.Column(scale=1, min_width=50):
106
  btn = gr.Button("Send")
107
  with gr.Column(scale=1, min_width=50):
108
  clear = gr.ClearButton([msg, chatbot])
109
- with gr.Row():
110
- dt = gr.Textbox(label="Current time")
111
  # do not clear prompt
112
  msg.submit(respond, [msg, chatbot], [msg, chatbot])
113
 
 
89
  with gr.Blocks(theme=theme) as block:
90
  chatbot = gr.Chatbot()
91
 
92
+ with gr.Column():
93
  with gr.Column(scale=12):
94
  msg = gr.Textbox()
95
  _ = """
 
101
  dt = gr.Textbox(label="Current time")
102
  # """
103
  with gr.Column(scale=1, min_width=100):
104
+ with gr.Column():
105
  with gr.Column(scale=1, min_width=50):
106
  btn = gr.Button("Send")
107
  with gr.Column(scale=1, min_width=50):
108
  clear = gr.ClearButton([msg, chatbot])
109
+ # with gr.Row():
110
+ dt = gr.Textbox(label="Current time")
111
  # do not clear prompt
112
  msg.submit(respond, [msg, chatbot], [msg, chatbot])
113