better diffusers handling

This commit is contained in:
lllyasviel
2024-02-03 17:16:21 -08:00
parent e3fca95012
commit a544ececfe
3 changed files with 25 additions and 9 deletions

View File

@@ -10,6 +10,9 @@ os.makedirs(controlnet_dir, exist_ok=True)
preprocessor_dir = os.path.join(models_path, 'ControlNetPreprocessor')
os.makedirs(preprocessor_dir, exist_ok=True)
diffusers_dir = os.path.join(models_path, 'diffusers')
os.makedirs(diffusers_dir, exist_ok=True)
supported_preprocessors = {}
supported_control_models = []