Revert "Create controlnet_unit.py"

This reverts commit b347f9ae63.
This commit is contained in:
lllyasviel
2024-02-01 16:44:06 -08:00
parent b347f9ae63
commit eefa8a701d

View File

@@ -1,19 +0,0 @@
from dataclasses import dataclass
@dataclass
class ControlNetUnitGradioState:
enabled: bool = True
preprocessor_name: str = "None"
control_model_name: str = "None"
weight: float = 1.0
image = None
mask = None
resize_mode: str = "Crop and Resize"
processor_resolution: int = -1
slider_1: float = -1
slider_2: float = -1
guidance_start: float = 0.0
guidance_end: float = 1.0
pixel_perfect: bool = False
control_mode: str = "Balanced"