yfszzx / stable-diffusion-webui-images-browser

an images browse for stable-diffusion-webui
489 stars 235 forks source link

Add full prompt searching #66

Closed ghost closed 1 year ago

ghost commented 1 year ago

This adds three text boxes:

This allows you to filter based on the full prompt text rather than just the file name.

These are AND'ed with each other but aren't AND'ed with the keyword textbox. This is mostly to avoid having to load the metadata when simply trying to search for a given file name.

The code is pretty messy as I'm not a Python dev. Feel free to take this and adapt it however you see fit.