mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 06:40:48 +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
|
||||
|
||||
def encode_adm(self, **kwargs):
|
||||
raise NotImplementedError
|
||||
return None
|
||||
|
||||
def extra_conds(self, **kwargs):
|
||||
out = {}
|
||||
@ -491,7 +491,7 @@ class SD_X4Upscaler(BaseModel):
|
||||
|
||||
class IP2P(BaseModel):
|
||||
def process_ip2p_image_in(self, image):
|
||||
raise NotImplementedError
|
||||
return None
|
||||
|
||||
def extra_conds(self, **kwargs):
|
||||
out = {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user