Merge pull request #15 from DorotaLuna/main

make boolean options be boolean
This commit is contained in:
Jedrzej Kosinski
2023-10-12 08:04:24 -05:00
committed by GitHub
+5 -5
View File
@@ -27,7 +27,7 @@ class ScaledSoftControlNetWeights:
return {
"required": {
"base_multiplier": ("FLOAT", {"default": 0.825, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"flip_weights": ([False, True], ),
"flip_weights": ("BOOLEAN", {"default": False}),
},
}
@@ -61,7 +61,7 @@ class SoftControlNetWeights:
"weight_10": ("FLOAT", {"default": 0.6806249999999999, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"weight_11": ("FLOAT", {"default": 0.825, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"weight_12": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"flip_weights": ([False, True], ),
"flip_weights": ("BOOLEAN", {"default": False}),
},
}
@@ -97,7 +97,7 @@ class CustomControlNetWeights:
"weight_10": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"weight_11": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"weight_12": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"flip_weights": ([False, True], ),
"flip_weights": ("BOOLEAN", {"default": False}),
}
}
@@ -124,7 +124,7 @@ class SoftT2IAdapterWeights:
"weight_01": ("FLOAT", {"default": 0.62, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"weight_02": ("FLOAT", {"default": 0.825, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"weight_03": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"flip_weights": ([False, True], ),
"flip_weights": ("BOOLEAN", {"default": False}),
},
}
@@ -150,7 +150,7 @@ class CustomT2IAdapterWeights:
"weight_01": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"weight_02": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"weight_03": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}, ),
"flip_weights": ([False, True], ),
"flip_weights": ("BOOLEAN", {"default": False}),
},
}