aboutsummaryrefslogtreecommitdiff
path: root/modules/ui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-01-04 19:47:00 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2024-01-04 19:47:00 +0300
commit15ec54dd969d6dc3fea7790ca5cce5badcfda426 (patch)
treee888760c4cc82bf5ecdba96bc36f22ce1ae8cd0a /modules/ui.py
parentf903b4dda36537b8fd5daec209f9f886adb104fc (diff)
Have upscale button use the same seed as hires fix.
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 7116d71c..2d2e333b 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -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,