summaryrefslogtreecommitdiffstats
path: root/modules/processing.py
diff options
context:
space:
mode:
authorGrafting Rayman <156515434+GraftingRayman@users.noreply.github.com>2025-01-17 10:59:45 +0000
committerGitHub <noreply@github.com>2025-01-17 10:59:45 +0000
commitfebd45814cd41560c5247aacb111d8d013f3a303 (patch)
tree6462946b4b354073060d7d7df5c2d14bccd69aec /modules/processing.py
downloadComfyui-reactor-node-febd45814cd41560c5247aacb111d8d013f3a303.tar.gz
Add files via upload
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/processing.py b/modules/processing.py
new file mode 100644
index 0000000..649c3a1
--- /dev/null
+++ b/modules/processing.py
@@ -0,0 +1,13 @@
+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)