diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-04-29 19:13:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 19:13:40 +0000 |
commit | 15c4e78b44e14d70b82dcb5b563251fed7be0766 (patch) | |
tree | 6f1acaae50a49544a08384b52739df3e2d803a10 /modules/ui_postprocessing.py | |
parent | 3e5b3c79e49ec3a10174c250815dabce6efdddca (diff) | |
parent | 2e78e65a22bfa6b116ae18d12fdcb85ec8acd727 (diff) | |
download | stable-diffusion-webui-gfx803-15c4e78b44e14d70b82dcb5b563251fed7be0766.tar.gz stable-diffusion-webui-gfx803-15c4e78b44e14d70b82dcb5b563251fed7be0766.tar.bz2 stable-diffusion-webui-gfx803-15c4e78b44e14d70b82dcb5b563251fed7be0766.zip |
Merge branch 'dev' into feature/restore-progress
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")
|