fix folder enum and refactor control ipadapter

This commit is contained in:
Vladimir Mandic
2024-01-07 16:06:03 -05:00
parent 119424399f
commit d2940a05d1
21 changed files with 237 additions and 309 deletions
+2
View File
@@ -119,6 +119,8 @@ class Unit(): # mashup of gradio controls and mapping to actual implementation c
self.controlnet = lite.ControlLLLite(device=default_device, dtype=default_dtype)
elif self.type == 'reference':
pass
elif self.type == 'ip':
pass
else:
log.error(f'Control unknown type: unit={unit_type}')
return