diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-03-20 13:09:36 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-03-20 13:09:36 +0000 |
commit | 8ea8e712c43e493a9c96dcec7dfbc036a8630c97 (patch) | |
tree | d546b3457cdd9bfa91252f8416e6b8ccb1791dcf /modules/ui_common.py | |
parent | 6a04a7f20fcc4a992ae017b06723e9ceffe17b37 (diff) | |
download | stable-diffusion-webui-gfx803-8ea8e712c43e493a9c96dcec7dfbc036a8630c97.tar.gz stable-diffusion-webui-gfx803-8ea8e712c43e493a9c96dcec7dfbc036a8630c97.tar.bz2 stable-diffusion-webui-gfx803-8ea8e712c43e493a9c96dcec7dfbc036a8630c97.zip |
initial gradio 3.22 support
Diffstat (limited to 'modules/ui_common.py')
-rw-r--r-- | modules/ui_common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ui_common.py b/modules/ui_common.py index a12433d2..d4e00829 100644 --- a/modules/ui_common.py +++ b/modules/ui_common.py @@ -130,7 +130,7 @@ Requested path was: {f} generation_info = None
with gr.Column():
with gr.Row(elem_id=f"image_buttons_{tabname}"):
- open_folder_button = gr.Button(folder_symbol, elem_id="hidden_element" if shared.cmd_opts.hide_ui_dir_config else f'open_folder_{tabname}')
+ open_folder_button = gr.Button(folder_symbol, visible=not shared.cmd_opts.hide_ui_dir_config)
if tabname != "extras":
save = gr.Button('Save', elem_id=f'save_{tabname}')
@@ -160,6 +160,7 @@ Requested path was: {f} _js="function(x, y, z){ return [x, y, selected_gallery_index()] }",
inputs=[generation_info, html_info, html_info],
outputs=[html_info, html_info],
+ show_progress=False,
)
save.click(
|