Skip to content

Commit

Permalink
fix #18
Browse files Browse the repository at this point in the history
  • Loading branch information
hnmr293 committed Mar 6, 2023
1 parent 59ec52e commit b4b381a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/posex.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def process(self, p: StableDiffusionProcessing, enabled: bool = False, b64: str
self.set_p_value(p, 'control_net_enabled', cn_num, True)
self.set_p_value(p, 'control_net_input_image', cn_num, image)

def postprocess(self, p, processed, enabled: bool = False, b64: str = ''):
def postprocess(self, p, processed, enabled: bool = False, b64: str = '', cn_num: int = 0):
if not enabled or b64 is None or len(b64) == 0:
return

Expand Down

0 comments on commit b4b381a

Please sign in to comment.