wip: add hyper-sd 8 step cfg lora with negative prompt support

This commit is contained in:
Manuel Schmid
2024-05-04 16:24:33 +02:00
parent 1a9faf4d1b
commit 8ef1a2119c
3 changed files with 22 additions and 1 deletions
+11 -1
View File
@@ -539,8 +539,9 @@ wildcard_filenames = []
sdxl_lcm_lora = 'sdxl_lcm_lora.safetensors'
sdxl_lightning_lora = 'sdxl_lightning_4step_lora.safetensors'
sdxl_hyper_sd_cfg_lora = 'sdxl_hyper_sd_8step_cfg_lora.safetensors'
sdxl_hyper_sd_lora = 'sdxl_hyper_sd_4step_lora.safetensors'
loras_metadata_remove = [sdxl_lcm_lora, sdxl_lightning_lora, sdxl_hyper_sd_lora]
loras_metadata_remove = [sdxl_lcm_lora, sdxl_lightning_lora, sdxl_hyper_sd_cfg_lora, sdxl_hyper_sd_lora]
def get_model_filenames(folder_paths, extensions=None, name_filter=None):
@@ -625,6 +626,15 @@ def downloading_sdxl_hyper_sd_lora():
return sdxl_hyper_sd_lora
def downloading_sdxl_hyper_sd_cfg_lora():
load_file_from_url(
url='https://huggingface.co/mashb1t/misc/resolve/main/sdxl_hyper_sd_8step_cfg_lora.safetensors',
model_dir=paths_loras[0],
file_name=sdxl_hyper_sd_cfg_lora
)
return sdxl_hyper_sd_lora
def downloading_controlnet_canny():
load_file_from_url(
url='https://huggingface.co/lllyasviel/misc/resolve/main/control-lora-canny-rank128.safetensors',