Files
ssitu-ComfyUI_UltimateSDUps…/modules/shared.py
T
ssit c2e7ca4043 Upscaling a single image without sampling now working
- Removed checkpoint related inputs for easier testing.
- Added modules that mimic A1111 modules
2023-05-14 17:24:44 -04:00

22 lines
340 B
Python

class Options:
img2img_background_color = "#ffffff" # Set to white for now
class State:
interrupted = False
def begin(self):
pass
def end(self):
pass
opts = Options()
state = State()
# Will only ever hold 1 upscaler
sd_upscalers = [None]
# The upscaler usable by ComfyUI nodes
actual_upscaler = None