mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-10 07:29:50 +00:00
@@ -3,7 +3,6 @@ import sys
|
||||
from modules.paths_internal import models_path, script_path, data_path, extensions_dir, extensions_builtin_dir, cwd # noqa: F401
|
||||
|
||||
import modules.safe # noqa: F401
|
||||
import ldm_patched.utils.path_utils as ldm_patched_path_utils
|
||||
|
||||
|
||||
def mute_sdxl_imports():
|
||||
@@ -65,6 +64,8 @@ for d, must_exist, what, options in path_dirs:
|
||||
paths[what] = d
|
||||
|
||||
|
||||
import ldm_patched.utils.path_utils as ldm_patched_path_utils
|
||||
|
||||
ldm_patched_path_utils.base_path = data_path
|
||||
ldm_patched_path_utils.models_dir = models_path
|
||||
ldm_patched_path_utils.output_directory = os.path.join(data_path, "output")
|
||||
|
||||
Reference in New Issue
Block a user