mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
disable intermediate results on LCM sampler
prevents image result clogging due to LCM being so fast
This commit is contained in:
@@ -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), \
|
||||
|
||||
Reference in New Issue
Block a user