mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 04:11:15 -08:00
Have upscale button use the same seed as hires fix.
This commit is contained in:
parent
f903b4dda3
commit
15ec54dd96
5 changed files with 53 additions and 20 deletions
|
|
@ -405,8 +405,8 @@ def create_ui():
|
|||
|
||||
txt2img_outputs = [
|
||||
output_panel.gallery,
|
||||
output_panel.generation_info,
|
||||
output_panel.infotext,
|
||||
output_panel.html_info,
|
||||
output_panel.html_log,
|
||||
]
|
||||
|
||||
|
|
@ -424,7 +424,7 @@ def create_ui():
|
|||
output_panel.button_upscale.click(
|
||||
fn=wrap_gradio_gpu_call(modules.txt2img.txt2img_upscale, extra_outputs=[None, '', '']),
|
||||
_js="submit_txt2img_upscale",
|
||||
inputs=txt2img_inputs[0:1] + [output_panel.gallery, dummy_component] + txt2img_inputs[1:],
|
||||
inputs=txt2img_inputs[0:1] + [output_panel.gallery, dummy_component, output_panel.generation_info] + txt2img_inputs[1:],
|
||||
outputs=txt2img_outputs,
|
||||
show_progress=False,
|
||||
)
|
||||
|
|
@ -437,8 +437,8 @@ def create_ui():
|
|||
inputs=[dummy_component],
|
||||
outputs=[
|
||||
output_panel.gallery,
|
||||
output_panel.generation_info,
|
||||
output_panel.infotext,
|
||||
output_panel.html_info,
|
||||
output_panel.html_log,
|
||||
],
|
||||
show_progress=False,
|
||||
|
|
@ -766,8 +766,8 @@ def create_ui():
|
|||
] + custom_inputs,
|
||||
outputs=[
|
||||
output_panel.gallery,
|
||||
output_panel.generation_info,
|
||||
output_panel.infotext,
|
||||
output_panel.html_info,
|
||||
output_panel.html_log,
|
||||
],
|
||||
show_progress=False,
|
||||
|
|
@ -807,8 +807,8 @@ def create_ui():
|
|||
inputs=[dummy_component],
|
||||
outputs=[
|
||||
output_panel.gallery,
|
||||
output_panel.generation_info,
|
||||
output_panel.infotext,
|
||||
output_panel.html_info,
|
||||
output_panel.html_log,
|
||||
],
|
||||
show_progress=False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue