mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-05-01 11:41:23 +00:00
Update preprocessor_clipvision.py
This commit is contained in:
@@ -30,7 +30,7 @@ class PreprocessorClipVision(Preprocessor):
|
||||
self.clipvision = ldm_patched.modules.clip_vision.load(ckpt_path)
|
||||
|
||||
# For IPAdapter Format
|
||||
return self.clipvision, input_image
|
||||
return self.clipvision, numpy_to_pytorch(input_image)
|
||||
|
||||
|
||||
add_supported_preprocessor(PreprocessorClipVision(
|
||||
|
||||
Reference in New Issue
Block a user