Skip to content

Commit

Permalink
Merge pull request #157 from ototadana/fix/install-error-in-1.6.0
Browse files Browse the repository at this point in the history
prevent installation error in SD WebUI 1.6.0
  • Loading branch information
ototadana authored Aug 31, 2023
2 parents 54757bc + b01dc68 commit 40d4b8a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@

from scripts.use_cases.installer import Installer

if not shared.opts:
from modules import shared_init

shared_init.initialize()

if shared.opts.data.get("face_editor_additional_components", None) is not None:
for cls in load_classes_from_directory(Installer, True):
try:
Expand Down

0 comments on commit 40d4b8a

Please sign in to comment.