The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Import spandrel_extra_arches if present.
comfyanonymous91542d4f8b99
diff --git a/comfy_extras/nodes_upscale_model.py b/comfy_extras/nodes_upscale_model.pyindex 03f294465..bca79ef2e 100644--- a/comfy_extras/nodes_upscale_model.py+++ b/comfy_extras/nodes_upscale_model.py@@ -1,10 +1,19 @@import os+import loggingfrom spandrel import ModelLoader, ImageModelDescriptorfrom comfy import model_managementimport torchimport comfy.utilsimport folder_paths+try:+ from spandrel_extra_arches import EXTRA_REGISTRY+ from spandrel import MAIN_REGISTRY+ MAIN_REGISTRY.add(*EXTRA_REGISTRY)+ logging.info("Successfully imported spandrel_extra_arches: support for non commercial upscale models.")+except:+ pass+class UpscaleModelLoader:@classmethoddef INPUT_TYPES(s):