mishig HF staff commited on
Commit
a96c88b
1 Parent(s): 54992d3

side-by-side layot

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -162,8 +162,9 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=css) as demo:
162
  elem_id="q-input",
163
  )
164
  submit = gr.Button("Generate", variant="primary")
165
- output_1 = gr.Code(elem_id="q-output", lines=30, label=f"{model_id_1} Output", language="python")
166
- output_2 = gr.Code(elem_id="q-output", lines=30, label=f"{model_id_2} Output", language="python")
 
167
  with gr.Row():
168
  with gr.Column():
169
  with gr.Accordion("Advanced settings", open=False):
 
162
  elem_id="q-input",
163
  )
164
  submit = gr.Button("Generate", variant="primary")
165
+ with gr.Row():
166
+ output_1 = gr.Code(elem_id="q-output", lines=30, label=f"{model_id_1} Output", language="python")
167
+ output_2 = gr.Code(elem_id="q-output", lines=30, label=f"{model_id_2} Output", language="python")
168
  with gr.Row():
169
  with gr.Column():
170
  with gr.Accordion("Advanced settings", open=False):