Robbie Perlstein

Results 6 comments of Robbie Perlstein

Ahh, it appears that it's simply because it used python 3 not python 2

This may solve the problem easily - https://docs.python.org/2/library/2to3.html#

@xnamahx if you don't have time for this, i could probably take a swing at it (albeit I'm not a python dev) although I only need the copy/delete functionality. What...

Pressing Generate throws this console error ``` 2087 Uncaught (in promise) ReferenceError: randomId is not defined at submit_promptgen (?__theme=dark:2087:14) at eval (eval at (index.0b923826.js:75:2081), :3:38) at index.0b923826.js:34:32309 at HTMLButtonElement. (index.0b923826.js:76:2455)...

Error here - https://github.com/AUTOMATIC1111/stable-diffusion-webui-promptgen/blob/master/javascript/promptgen.js#L16

Solution to this problem... Update ``` var id = randomId() ``` to ``` var id = Math.trunc(Math.random() * 100000000) ```