Sebastiankay commited on
Commit
43811cc
·
1 Parent(s): 12761b6

28. Sept. 2024, 10:30

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -422,7 +422,7 @@ with gr.Blocks(theme=theme, css="custom.css", js="javascript.js") as demo:
422
  resolution = gr.Slider(label="resolution", minimum=256, maximum=1024, value=512, step=64)
423
  run_btn_lineart = gr.Button("Run")
424
  with gr.Column():
425
- gallery = gr.Gallery(label="Generated images", show_label=False, format="png", elem_id="output_gallery", elem_classes="output-gallery", columns=[3], rows=[2], object_fit="contain", height="auto", type="filepath")
426
 
427
  run_btn_lineart.click(fn=lineart, inputs=[input_image, resolution, preprocessor_name, invert, gallery], outputs=[gallery])
428
 
 
422
  resolution = gr.Slider(label="resolution", minimum=256, maximum=1024, value=512, step=64)
423
  run_btn_lineart = gr.Button("Run")
424
  with gr.Column():
425
+ gallery = gr.Gallery(label="Generated images", show_label=False, interactive=False, format="png", elem_id="output_gallery", elem_classes="output-gallery", columns=[3], rows=[2], object_fit="contain", height="auto", type="filepath")
426
 
427
  run_btn_lineart.click(fn=lineart, inputs=[input_image, resolution, preprocessor_name, invert, gallery], outputs=[gallery])
428