create dir for hypernetworks

This commit is contained in:
AUTOMATIC 2022-10-12 07:01:20 +03:00
parent 6be32b31d1
commit 6ac2ec2b78
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ parallel_processing_allowed = not cmd_opts.lowvram and not cmd_opts.medvram
xformers_available = False
config_filename = cmd_opts.ui_settings_file
os.makedirs(cmd_opts.hypernetwork_dir, exist_ok=True)
hypernetworks = hypernetwork.list_hypernetworks(cmd_opts.hypernetwork_dir)
loaded_hypernetwork = None