Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

types -> comfy_types to fix import issue.

comfyanonymous9d720187f181
diff --git a/comfy/types.py b/comfy/comfy_types.py
similarity index 100%
rename from comfy/types.py
rename to comfy/comfy_types.py
diff --git a/comfy/model_patcher.py b/comfy/model_patcher.py
index 3f5d90273..a89ad4fd7 100644
--- a/comfy/model_patcher.py
+++ b/comfy/model_patcher.py
@@ -28,7 +28,7 @@ import comfy.utils
import comfy.float
import comfy.model_management
import comfy.lora
-from comfy.types import UnetWrapperFunction
+from comfy.comfy_types import UnetWrapperFunction
def string_to_seed(data):
crc = 0xFFFFFFFF