update gallery ui style
parent
dcd00660df
commit
9855600ea7
|
|
@ -138,7 +138,7 @@ def on_ui_tabs():
|
|||
submit = gr.Button(value="Submit")
|
||||
with gr.Row():
|
||||
with gr.Column():
|
||||
gallery = gr.Gallery(label="outputs", show_label=True, elem_id="gallery").style(grid=2)
|
||||
gallery = gr.Gallery(label="outputs", show_label=True, elem_id="gallery").style(grid=2, object_fit="contain")
|
||||
|
||||
# 0: single 1: batch 2: batch dir
|
||||
input_tab_single.select(fn=lambda: 0, inputs=[], outputs=[input_tab_state])
|
||||
|
|
|
|||
Loading…
Reference in New Issue