mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Update paths so they are serializable in the nodes
This commit is contained in:
parent
78195491bc
commit
30ab81b6bb
@ -164,8 +164,12 @@ class IPAdapterInvocation(BaseInvocation):
|
||||
# control_model is currently optional
|
||||
# must be either a control_model or ip_adapter_model
|
||||
# control_model=None,
|
||||
ip_adapter_model=context.services.configuration.get_config().root_dir / self.ip_adapter_model,
|
||||
image_encoder_model=context.services.configuration.get_config().root_dir / self.image_encoder_model,
|
||||
ip_adapter_model=(
|
||||
context.services.configuration.get_config().root_dir / self.ip_adapter_model
|
||||
).as_posix(),
|
||||
image_encoder_model=(
|
||||
context.services.configuration.get_config().root_dir / self.image_encoder_model
|
||||
).as_posix(),
|
||||
control_weight=self.control_weight,
|
||||
# rest are currently ignored
|
||||
# begin_step_percent=self.begin_step_percent,
|
||||
|
Loading…
Reference in New Issue
Block a user