mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
@@ -253,6 +253,8 @@ def select_checkpoint(op='model'):
|
||||
model_checkpoint = shared.opts.data.get('sd_model_refiner', None)
|
||||
else:
|
||||
model_checkpoint = shared.opts.sd_model_checkpoint
|
||||
if len(model_checkpoint) < 3:
|
||||
return None
|
||||
if model_checkpoint is None or model_checkpoint == 'None':
|
||||
return None
|
||||
checkpoint_info = get_closet_checkpoint_match(model_checkpoint)
|
||||
|
||||
Reference in New Issue
Block a user