mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
added a wrapper model_manager_service and model events
This commit is contained in:
@ -59,7 +59,7 @@ class CompelInvocation(BaseInvocation):
|
||||
|
||||
# TODO: load without model
|
||||
model = choose_model(context.services.model_manager, self.model)
|
||||
pipeline = model["model"]
|
||||
pipeline = model.context.model
|
||||
tokenizer = pipeline.tokenizer
|
||||
text_encoder = pipeline.text_encoder
|
||||
|
||||
|
Reference in New Issue
Block a user