Spaces:
Configuration error
Configuration error
Download ComfyUI_UltimateSDUpscale/modules/shared.py from JasonSmithSO/FooocusEnhanced: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/spaces/JasonSmithSO/FooocusEnhanced/resolve/main/ComfyUI_UltimateSDUpscale/modules/shared.py
- Command line
-
hf download hf://spaces/JasonSmithSO/FooocusEnhanced/ComfyUI_UltimateSDUpscale/modules/shared.py
-
curl -L -o shared.py https://huggingface.co/spaces/JasonSmithSO/FooocusEnhanced/resolve/main/ComfyUI_UltimateSDUpscale/modules/shared.py
383 Bytes
| 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 | |
| # Batch of images to upscale | |
| batch = None | |