Fix method signature

This commit is contained in:
awsr
2026-05-03 11:19:31 -07:00
parent 3ff0c6d8be
commit 8fed5afe62
+1 -1
View File
@@ -57,7 +57,7 @@ class ExtraNetwork:
def __init__(self, name: str):
self.name = name
def activate(self, p: StableDiffusionProcessing, params_list: list[ExtraNetworkParams]):
def activate(self, p: StableDiffusionProcessing, params_list: list[ExtraNetworkParams], *args, **kwargs):
"""
Called by processing on every run. Whatever the extra network is meant to do should be activated here. Passes arguments related to this extra network in params_list. User passes arguments by specifying this in his prompt:
<name:arg1:arg2:arg3>