mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-07 16:39:57 +00:00
i
This commit is contained in:
@@ -14,7 +14,7 @@ from PIL import Image
|
||||
import torch.nn.functional as F
|
||||
import torchvision.transforms as TT
|
||||
|
||||
from .resampler import PerceiverAttention, FeedForward, Resampler
|
||||
from lib_ipadapter.resampler import PerceiverAttention, FeedForward, Resampler
|
||||
|
||||
|
||||
GLOBAL_MODELS_DIR = preprocessor_dir
|
||||
@@ -1,6 +1,6 @@
|
||||
from modules_forge.shared import add_supported_control_model
|
||||
from modules_forge.supported_controlnet import ControlModelPatcher
|
||||
from IPAdapterPlus import IPAdapterApply
|
||||
from lib_ipadapter.IPAdapterPlus import IPAdapterApply
|
||||
|
||||
opIPAdapterApply = IPAdapterApply()
|
||||
|
||||
@@ -30,6 +30,7 @@ class IPAdapterPatcher(ControlModelPatcher):
|
||||
return
|
||||
|
||||
def process_before_every_sampling(self, process, cond, *args, **kwargs):
|
||||
clip_vision, image = cond
|
||||
a = 0
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user