Change engine_row from gr.Row to gr.Column

This commit is contained in:
2024-02-22 15:13:08 +01:00
parent 8c76140b38
commit ac835a6e81

View File

@@ -75,7 +75,7 @@ class GenerateUI:
inputs.append(engine_dropdown) inputs.append(engine_dropdown)
engine_rows = [] engine_rows = []
for i, engine in enumerate(engines): for i, engine in enumerate(engines):
with gr.Row(visible=(i == 0)) as engine_row: with gr.Column(visible=(i == 0)) as engine_row:
gr.Markdown(value=f"## {engine.name}") gr.Markdown(value=f"## {engine.name}")
engine_rows.append(engine_row) engine_rows.append(engine_row)
options = engine.get_options() options = engine.get_options()