dr413677671 / PromptGallery-stable-diffusion-webui

A prompt cookbook worked as stable-diffusion-webui extenstions.
Apache License 2.0
151 stars 16 forks source link

Could not get it to work, not showing generated images after "select". #6

Closed RafaRed closed 1 year ago

RafaRed commented 1 year ago

It looks very interesting to me, but unfortunately I couldn't get it to work, even trying for hours and even looking at the code.

I'm sending a video showing the structure of the folders it generated (installing manually and following the installation guide step by step), I've already tried automatic installation through the "Available" tab, and I wasn't successful either.

Apparently when I'm pressing select, the files disappear from the preview folder and don't go anywhere, I imagine they should go to some folder right?

Video: https://youtu.be/OQYz4d5cyKk

dr413677671 commented 1 year ago

Hi RafaRed

My bad. I think following the readme it will install two prompt galleries.

I had fixed the readme. Please try delete the "Prompt Gallery" and "prompt-gallery" in the extension folder. Then follow readme. Only use the webui install function.

dr413677671 commented 1 year ago

Please also delete the prompt_gallery_name.json

RafaRed commented 1 year ago

@dr413677671 actually, it created the file pormpt-gallery when start to run the script.

lines 41 and 42

OUTPATH_SAMPLES = './extensions/prompt-gallery/assets/preview/' OUTPATH_GRIDS = './extensions/prompt-gallery/assets/grid/'

this should be "Prompt Gallery", right?

RafaRed commented 1 year ago

When I start to run the script it downloads the files "whiteHair_0" and whiteHair_1" and ask me to save it, but i dont know where to save this files and give me an error probablly in lines 41 and 42 of the script.

error

RafaRed commented 1 year ago

@dr413677671 I see that you did some changes on the script to fix that, thanks. now its not creating 2 folders, but still not working when I use the "select" button, just delete the files inside the preview folder and the "404 image" on the Prompt Gallery still there, did not override for the selected one.

dr413677671 commented 1 year ago

Hi mate,

My silly mistake indeed.🤣

Thanks for helping stablelzing it.

I run a test E2E. Should be good now.

dr413677671 commented 1 year ago

Still Bug, debugging

RafaRed commented 1 year ago

@dr413677671 Yeah,

  1. When I selected the PinkGirl asked me to download 2 files pinkGirl_0 and pinkGirl_1, i dont know where to save then.
  2. When I click "select" still delete the preview images, but do not add then to my "Prompt Gallery", they should move to another folder when I click "select"? I need to use the "auto rename"?
dr413677671 commented 1 year ago

Yes, should be working now

  1. It will download to your default download path. If you are using chrome. In configuration you need to select "ask me everytime when download..." then path selection pop up.
  2. This time it fixed. WebUI seems to added a comma filter in filename blob. Fixed that in extension.
dr413677671 commented 1 year ago

The filepath error are killers.

RafaRed commented 1 year ago

@dr413677671 Nice! Now its working. Thank you for fixing & for the extention.

obs: I don't know if were indented or your just forgot to remove the "print's" for the renames etc.

dr413677671 commented 1 year ago

Removed 😋