Add buttons to quickly download images from Stable Diffusion models
Bunlar bu scriptin güncellenmiş kod versiyonlarıdır. Bütün versiyonları göster.
v.14 fixes prompt input detection (used for the download filename) for https://huggingface.co/spaces/songweig/rich-text-to-image which is built using nested iframes, as well as some other spaces.It also fixes an unnecessary download button next to the user-uploaded input image in https://huggingface.co/spaces/editing-images/ledits
v1.3 adds support for more Huggingface spaces, including https://huggingface.co/nerijs/pixel-art-xl and https://huggingface.co/spaces/songweig/rich-text-to-image and https://huggingface.co/spaces/Yntec/ToyWorldXLThese changes MAY result in false positives, i.e. unnecessary download buttons showing up. Let me know if this happens.Show-on-hover code is simplified (at some negligible performance cost), and this may fix some interaction issues.
v1.2 handles updated DOM structure of the site
v1.1 adds support for Stable Diffusion 2. It expands the domain scope to match other applications on HuggingFace, and includes negative prompts in the filename, with format: "'' (anti '')".