d8ahazard / sd_smartprocess

Smart Pre-processing extension for Stable Diffusion
191 stars 19 forks source link

TypeError: build_caption() takes 1 positional argument but 2 were given #8

Closed NilaierMusic closed 1 year ago

NilaierMusic commented 1 year ago

Yep, exactly that

Error completing request Arguments: ('/content/nozomi/waterring', '/content/waterring', True, 640, 640, False, True, 'append', True, True, True, 0, True, 0.5, 0.2, '', '', True, False, 'GFPGAN', False, 2, 0) {} Traceback (most recent call last): File "/content/drive/My Drive/stable-diffusion-webui/modules/call_queue.py", line 45, in f res = list(func(*args, **kwargs)) File "/content/drive/My Drive/stable-diffusion-webui/modules/call_queue.py", line 28, in f res = func(*args, **kwargs) File "/content/drive/My Drive/stable-diffusion-webui/extensions/sd_smartprocess/smartprocess.py", line 71, in preprocess prework(src, File "/content/drive/My Drive/stable-diffusion-webui/extensions/sd_smartprocess/smartprocess.py", line 292, in prework full_caption = build_caption(splitted, full_caption) TypeError: build_caption() takes 1 positional argument but 2 were given

d8ahazard commented 1 year ago

This is fixed with the latest commits.