antelopev2

This commit is contained in:
lllyasviel
2024-01-31 18:16:40 -08:00
parent 571c4586c5
commit 13a649010a
4 changed files with 80 additions and 22 deletions

View File

@@ -361,22 +361,22 @@ legacy_preprocessors = {
# "Inpaint"
# ]
# },
"instant_id_face_embedding": {
"label": "instant_id_face_embedding",
"call_function": functools.partial(g_insight_face_instant_id_model.run_model_instant_id, return_keypoints=False),
"unload_function": None,
"managed_model": "g_insight_face_instant_id_model",
"model_free": False,
"no_control_mode": False,
"resolution": None,
"slider_1": None,
"slider_2": None,
"slider_3": None,
"priority": 0,
"tags": [
"Instant_ID"
]
},
# "instant_id_face_embedding": {
# "label": "instant_id_face_embedding",
# "call_function": functools.partial(g_insight_face_instant_id_model.run_model_instant_id, return_keypoints=False),
# "unload_function": None,
# "managed_model": "g_insight_face_instant_id_model",
# "model_free": False,
# "no_control_mode": False,
# "resolution": None,
# "slider_1": None,
# "slider_2": None,
# "slider_3": None,
# "priority": 0,
# "tags": [
# "Instant-ID"
# ]
# },
"instant_id_face_keypoints": {
"label": "instant_id_face_keypoints",
"call_function": functools.partial(g_insight_face_instant_id_model.run_model_instant_id, return_keypoints=True),
@@ -390,7 +390,7 @@ legacy_preprocessors = {
"slider_3": None,
"priority": 0,
"tags": [
"Instant_ID"
"Instant-ID"
]
},
# "ip-adapter_clip_sd15": {

View File

@@ -56,6 +56,7 @@ class LegacyPreprocessor(Preprocessor):
't2i-adapter': ['t2i_adapter', 't2iadapter', 't2ia'],
'ip-adapter': ['ip_adapter', 'ipadapter'],
'openpose': ['openpose', 'densepose'],
'instant-iD': ['instant_id', 'instantid'],
}
self.model_filename_filters = []