mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-18 20:43:32 +08:00
14 lines
369 B
Python
14 lines
369 B
Python
class StableDiffusionProcessing:
|
|
|
|
def __init__(self, init_imgs):
|
|
self.init_images = init_imgs
|
|
self.width = init_imgs[0].width
|
|
self.height = init_imgs[0].height
|
|
self.extra_generation_params = {}
|
|
|
|
|
|
class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
|
|
|
|
def __init__(self, init_img):
|
|
super().__init__(init_img)
|