aboutsummaryrefslogtreecommitdiff
path: root/modules/paths.py
diff options
context:
space:
mode:
authord8ahazard <d8ahazard@gmail.com>2022-09-26 09:29:50 -0500
committerd8ahazard <d8ahazard@gmail.com>2022-09-26 09:29:50 -0500
commit740070ea9cdb254209f66417418f2a4af8b099d6 (patch)
tree52896a6159b706024af9520c855c10091162372c /modules/paths.py
parentbfb7f15d46048f27338eeac3a591a5943d03c5f1 (diff)
Re-implement universal model loading
Diffstat (limited to 'modules/paths.py')
-rw-r--r--modules/paths.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/paths.py b/modules/paths.py
index 3a19f9e5..015fa672 100644
--- a/modules/paths.py
+++ b/modules/paths.py
@@ -3,9 +3,10 @@ import os
import sys
script_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
+models_path = os.path.join(script_path, "models")
sys.path.insert(0, script_path)
-# search for directory of stable diffsuion in following palces
+# search for directory of stable diffusion in following places
sd_path = None
possible_sd_paths = [os.path.join(script_path, 'repositories/stable-diffusion'), '.', os.path.dirname(script_path)]
for possible_sd_path in possible_sd_paths: