moctardiallo commited on
Commit
4870b13
1 Parent(s): 12fa8e8

ui:equalize column heights

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ Helpful Answers:
63
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
64
  """
65
  with gr.Blocks() as demo:
66
- with gr.Row():
67
  with gr.Column(min_width=200, scale=0):
68
  max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens", render=True)
69
  temperature = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature", render=True)
 
63
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
64
  """
65
  with gr.Blocks() as demo:
66
+ with gr.Row(equal_height=True):
67
  with gr.Column(min_width=200, scale=0):
68
  max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens", render=True)
69
  temperature = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature", render=True)