Update forge_svd.py

This commit is contained in:
lllyasviel
2024-01-25 22:10:23 -08:00
parent 67774fbd39
commit d7e259cedf

View File

@@ -45,9 +45,11 @@ def on_ui_tabs():
refresh_button.click(
fn=lambda: gr.update(choices=update_svd_filenames),
inputs=[], outputs=filename)
generate_button = gr.Button(value="Generate")
with gr.Column():
png_output = gr.Button(value="Save PNG")
output_gallery = gr.Gallery(label='Gallery', show_label=False, object_fit='contain',
visible=True, height=1024, columns=4)
return [(svd_block, "SVD", "svd")]