mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-24 21:30:15 +08:00
These should not raise NotImplemented
This commit is contained in:
parent
92f435aba3
commit
facf68e7b9
@ -123,7 +123,7 @@ class BaseModel(torch.nn.Module):
|
|||||||
return self.adm_channels > 0
|
return self.adm_channels > 0
|
||||||
|
|
||||||
def encode_adm(self, **kwargs):
|
def encode_adm(self, **kwargs):
|
||||||
raise NotImplementedError
|
return None
|
||||||
|
|
||||||
def extra_conds(self, **kwargs):
|
def extra_conds(self, **kwargs):
|
||||||
out = {}
|
out = {}
|
||||||
@ -491,7 +491,7 @@ class SD_X4Upscaler(BaseModel):
|
|||||||
|
|
||||||
class IP2P(BaseModel):
|
class IP2P(BaseModel):
|
||||||
def process_ip2p_image_in(self, image):
|
def process_ip2p_image_in(self, image):
|
||||||
raise NotImplementedError
|
return None
|
||||||
|
|
||||||
def extra_conds(self, **kwargs):
|
def extra_conds(self, **kwargs):
|
||||||
out = {}
|
out = {}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user