upload models

This commit is contained in:
songkey-win
2025-06-17 16:58:59 +08:00
parent 458be6d5bf
commit 6bdf6f0448
5 changed files with 92 additions and 85 deletions
+8 -2
View File
@@ -13,13 +13,19 @@
"[preset]epicphotogasm_ultimateFidelity": "songkey/epicphotogasm_ultimateFidelity",
"[preset]epicrealism_naturalSinRC1VAE": "songkey/epicrealism_naturalSinRC1VAE",
"[preset]xxmix9realistic_v40": "songkey/xxmix9realistic_v40",
"[preset]cyberrealistic_v80": "songkey/cyberrealistic_v80"
"[preset]cyberrealistic_v80": "songkey/cyberrealistic_v80",
"[preset]animeanything_v10": "songkey/animeanything_v10"
},
"loras": {
"[preset]BabyFaceV1": ["songkey/loras_sd_1_5", "baby_face_v1.safetensors"],
"[preset]MoreDetails": ["songkey/loras_sd_1_5", "more_details.safetensors"],
"[preset]PixelPortraitV1": ["songkey/loras_sd_1_5", "pixel-portrait-v1.safetensors"],
"[preset]Drawing": ["songkey/loras_sd_1_5", "Drawing.safetensors"]
"[preset]Drawing": ["songkey/loras_sd_1_5", "Drawing.safetensors"],
"[preset]anime_extract": ["songkey/loras_sd_1_5", "anime_extract.safetensors"],
"[preset]animemix_v3_offset": ["songkey/loras_sd_1_5", "animemix_v3_offset.safetensors"],
"[preset]animeoutlineV4_16": ["songkey/loras_sd_1_5", "animeoutlineV4_16.safetensors"],
"[preset]ghibli_anime_v1": ["songkey/loras_sd_1_5", "ghibli_anime_v1.safetensors"],
"[preset]zyd232_InkStyle_v1_0": ["songkey/loras_sd_1_5", "zyd232_InkStyle_v1_0.safetensors"]
}
},
"prompt": "(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture",
+2 -2
View File
@@ -445,8 +445,8 @@ class CopyWeights(object):
config = dict(unet.config)
# Need this for backwards compatibility with UNet2DConditionModel checkpoints
if not config.get("num_attention_heads"):
config["num_attention_heads"] = config["attention_head_dim"]
# if not config.get("num_attention_heads"):
# config["num_attention_heads"] = config["attention_head_dim"]
config = FrozenDict(config)
model = cls.from_config(config)