diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-04-29 17:29:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 17:29:23 +0000 |
commit | 0d32cb2cf5ce1927295dcf8de0b2989968e95c38 (patch) | |
tree | b4c96b7d9056890fde266cd9f09afc6c9aa09db4 /modules/ui_postprocessing.py | |
parent | aac478cb9d39354bdb7778a37529d931dc3f87d6 (diff) | |
parent | 90e465982270b85812c94961696b7ba4d2c4d38c (diff) | |
download | stable-diffusion-webui-gfx803-0d32cb2cf5ce1927295dcf8de0b2989968e95c38.tar.gz stable-diffusion-webui-gfx803-0d32cb2cf5ce1927295dcf8de0b2989968e95c38.tar.bz2 stable-diffusion-webui-gfx803-0d32cb2cf5ce1927295dcf8de0b2989968e95c38.zip |
Merge branch 'dev' into master
Diffstat (limited to 'modules/ui_postprocessing.py')
-rw-r--r-- | modules/ui_postprocessing.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/ui_postprocessing.py b/modules/ui_postprocessing.py index b418d955..f25639e5 100644 --- a/modules/ui_postprocessing.py +++ b/modules/ui_postprocessing.py @@ -9,13 +9,13 @@ def create_ui(): with gr.Row().style(equal_height=False, variant='compact'):
with gr.Column(variant='compact'):
with gr.Tabs(elem_id="mode_extras"):
- with gr.TabItem('Single Image', elem_id="extras_single_tab") as tab_single:
+ with gr.TabItem('Single Image', id="single_image", elem_id="extras_single_tab") as tab_single:
extras_image = gr.Image(label="Source", source="upload", interactive=True, type="pil", elem_id="extras_image")
- with gr.TabItem('Batch Process', elem_id="extras_batch_process_tab") as tab_batch:
- image_batch = gr.File(label="Batch Process", file_count="multiple", interactive=True, type="file", elem_id="extras_image_batch")
+ with gr.TabItem('Batch Process', id="batch_process", elem_id="extras_batch_process_tab") as tab_batch:
+ image_batch = gr.Files(label="Batch Process", interactive=True, elem_id="extras_image_batch")
- with gr.TabItem('Batch from Directory', elem_id="extras_batch_directory_tab") as tab_batch_dir:
+ with gr.TabItem('Batch from Directory', id="batch_from_directory", elem_id="extras_batch_directory_tab") as tab_batch_dir:
extras_batch_input_dir = gr.Textbox(label="Input directory", **shared.hide_dirs, placeholder="A directory on the same machine where the server is running.", elem_id="extras_batch_input_dir")
extras_batch_output_dir = gr.Textbox(label="Output directory", **shared.hide_dirs, placeholder="Leave blank to save images to the default path.", elem_id="extras_batch_output_dir")
show_extras_results = gr.Checkbox(label='Show result images', value=True, elem_id="extras_show_extras_results")
|