mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
@@ -63,7 +63,7 @@ def list_models(refresh=False):
|
||||
|
||||
|
||||
class ControlLLLite():
|
||||
def __init__(self, model_id: str | None = None, device = None, dtype = None, load_config = None):
|
||||
def __init__(self, model_id: str = None, device = None, dtype = None, load_config = None):
|
||||
self.model: ControlNetLLLite = None
|
||||
self.model_id: str = model_id
|
||||
self.device = device
|
||||
@@ -83,7 +83,7 @@ class ControlLLLite():
|
||||
self.model = None
|
||||
self.model_id = None
|
||||
|
||||
def load(self, model_id: str | None = None, force: bool = True) -> str:
|
||||
def load(self, model_id: str = None, force: bool = True) -> str:
|
||||
with load_lock:
|
||||
try:
|
||||
t0 = time.time()
|
||||
|
||||
Reference in New Issue
Block a user