model-keyword icon indicating copy to clipboard operation
model-keyword copied to clipboard

extension not working with "one button prompt" extension

Open an303042 opened this issue 1 year ago • 0 comments

So it makes sense that these two won't play nice together, but I figured I'll post the error here and see if its fixable. One button prompt is a fun prompting extension - https://github.com/AIrjen/OneButtonPrompt When using it with model-keyword enabled I get the following in console:

Error running process: F:\SD\stable-diffusion-webui\extensions\model-keyword\scripts\model_keyword.py Traceback (most recent call last): File "F:\SD\stable-diffusion-webui\modules\scripts.py", line 451, in process script.process(p, *script_args) File "F:\SD\stable-diffusion-webui\extensions\model-keyword\scripts\model_keyword.py", line 657, in process p.prompt = new_prompt(p.prompt, kw, no_iter=True) File "F:\SD\stable-diffusion-webui\extensions\model-keyword\scripts\model_keyword.py", line 649, in new_prompt return ', '.join(arr) TypeError: sequence item 1: expected str instance, list found

Thank you for your work on this extension! (also - please add lycrois support :) )

an303042 avatar Jun 10 '23 05:06 an303042