mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
Merge branch 'feature/add-preset-selection'
This commit is contained in:
@@ -97,7 +97,7 @@ def download_models(default_model, previous_default_models, checkpoint_downloads
|
|||||||
|
|
||||||
if args.disable_preset_download:
|
if args.disable_preset_download:
|
||||||
print('Skipped model download.')
|
print('Skipped model download.')
|
||||||
return
|
return default_model, checkpoint_downloads
|
||||||
|
|
||||||
if not args.always_download_new_model:
|
if not args.always_download_new_model:
|
||||||
if not os.path.exists(os.path.join(config.path_checkpoints, default_model)):
|
if not os.path.exists(os.path.join(config.path_checkpoints, default_model)):
|
||||||
|
|||||||
Reference in New Issue
Block a user