control units mixing

This commit is contained in:
Vladimir Mandic
2024-01-30 09:27:20 -05:00
parent 20b5d952c9
commit ca51bfeb3e
4 changed files with 56 additions and 29 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class Unit(): # mashup of gradio controls and mapping to actual implementation c
result_txt = None,
extra_controls: list = [], # noqa B006
):
self.enabled = enabled or True
self.enabled = enabled or False
self.type = unit_type
self.strength = strength or 1.0
self.start = start or 0