Skip to content

Commit

Permalink
create dir for hypernetworks
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Oct 12, 2022
1 parent 6be32b3 commit 6ac2ec2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
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

Expand Down

0 comments on commit 6ac2ec2

Please sign in to comment.