mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-25 08:49:00 +00:00
Update forge_ipadapter.py
This commit is contained in:
@@ -42,7 +42,7 @@ class PreprocessorInsightFaceForIPAdapter(Preprocessor):
|
||||
|
||||
def __call__(self, input_image, resolution, slider_1=None, slider_2=None, slider_3=None, **kwargs):
|
||||
return dict(
|
||||
insightface=opInsightFaceLoader("CPU"),
|
||||
insightface=opInsightFaceLoader("CPU")[0],
|
||||
image=numpy_to_pytorch(input_image),
|
||||
weight_type="original",
|
||||
noise=0.0,
|
||||
|
||||
Reference in New Issue
Block a user