mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
fix delete file from main gallery view
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -572,10 +572,7 @@ def update_sampler(p, sd_model, second_pass=False):
|
||||
if hasattr(sd_model, 'scheduler'):
|
||||
if sampler_selection == 'None':
|
||||
return
|
||||
if sampler_selection is None:
|
||||
sampler = sd_samplers.all_samplers_map.get("UniPC")
|
||||
else:
|
||||
sampler = sd_samplers.all_samplers_map.get(sampler_selection, None)
|
||||
sampler = sd_samplers.find_sampler(sampler_selection)
|
||||
if sampler is None:
|
||||
shared.log.warning(f'Sampler: sampler="{sampler_selection}" not found')
|
||||
sampler = sd_samplers.all_samplers_map.get("UniPC")
|
||||
|
||||
Reference in New Issue
Block a user