aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
diff options
context:
space:
mode:
authoralg-wiki <47810160+alg-wiki@users.noreply.github.com>2022-10-10 19:35:28 +0000
committerGitHub <noreply@github.com>2022-10-10 19:35:28 +0000
commitf0ab972f85b4a185e7ff74b6f325835f1135deff (patch)
tree1719b7d8019c44aa55d51432d708ce8c9ca325d3 /modules/ui.py
parentbc3e183b739913e7be91213a256f038b10eb71e9 (diff)
parent5da1ba0e91a81804dc911d34c9a2e6956a23199c (diff)
downloadstable-diffusion-webui-gfx803-f0ab972f85b4a185e7ff74b6f325835f1135deff.tar.gz
stable-diffusion-webui-gfx803-f0ab972f85b4a185e7ff74b6f325835f1135deff.tar.bz2
stable-diffusion-webui-gfx803-f0ab972f85b4a185e7ff74b6f325835f1135deff.zip
Merge branch 'master' into textual__inversion
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 8c06ad7c..e8039d76 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -524,7 +524,7 @@ def create_ui(wrap_gradio_gpu_call):
denoising_strength = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, label='Denoising strength', value=0.7)
with gr.Row():
- batch_count = gr.Slider(minimum=1, maximum=cmd_opts.max_batch_count, step=1, label='Batch count', value=1)
+ batch_count = gr.Slider(minimum=1, step=1, label='Batch count', value=1)
batch_size = gr.Slider(minimum=1, maximum=8, step=1, label='Batch size', value=1)
cfg_scale = gr.Slider(minimum=1.0, maximum=30.0, step=0.5, label='CFG Scale', value=7.0)
@@ -710,7 +710,7 @@ def create_ui(wrap_gradio_gpu_call):
tiling = gr.Checkbox(label='Tiling', value=False)
with gr.Row():
- batch_count = gr.Slider(minimum=1, maximum=cmd_opts.max_batch_count, step=1, label='Batch count', value=1)
+ batch_count = gr.Slider(minimum=1, step=1, label='Batch count', value=1)
batch_size = gr.Slider(minimum=1, maximum=8, step=1, label='Batch size', value=1)
with gr.Group():
@@ -961,7 +961,7 @@ def create_ui(wrap_gradio_gpu_call):
extras_send_to_inpaint.click(
fn=lambda x: image_from_url_text(x),
- _js="extract_image_from_gallery_img2img",
+ _js="extract_image_from_gallery_inpaint",
inputs=[result_images],
outputs=[init_img_with_mask],
)