disable intermediate results on LCM sampler

prevents image result clogging due to LCM being so fast
This commit is contained in:
Manuel Schmid
2023-11-23 00:34:08 +01:00
parent 99f7b6e6d4
commit 44c6ddb731
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ def generate_clicked(task):
if flag == 'results':
yield gr.update(visible=True), \
gr.update(visible=True), \
gr.update(visible=True, value=product) if not advanced_parameters.disable_intermediate_results else gr.update(), \
gr.update(visible=True, value=product) if not advanced_parameters.disable_intermediate_results and advanced_parameters.sampler_name != 'lcm' else gr.update(), \
gr.update(visible=False)
if flag == 'finish':
yield gr.update(visible=False), \