Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix overwriting the same prompts in new beautifier mode. - annna - Annna the ni…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 561500a9868aaee1ea72fb52b4c2aed79a3a3e5d
parent 7429173aef156876e4463fa07230c003ff8ef069
Author: Annna Robert-Houdin <[email protected]>
Date: Wed, 31 Jul 2024 17:27:24 +0200
Fix overwriting the same prompts in new beautifier mode.
Diffstat:
M stable-diffusion-emoji | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/stable-diffusion-emoji b/stable-diffusion-emoji
@@ -15,6 +15,12 @@ emojiuribase="gophers://bitreich.org/I/emoji"
emojistr="$@"
emojiprompt="$(printf "%s\n" "${emojistr}" \
| sed 's,^::,,; s,::$,,; s|[-,:=/\.]| |g')"
+case "${emojiprompt}" in
+*beautify*)
+ emojiprompt="$(stable-diffusion-beautify-prompt "${emojiprompt}")"
+ ;;
+esac
+
emojifilebase="$(printf "%s\n" "${emojiprompt}" \
| cut -c -64 \
| sed "s,',-,g" \
@@ -26,12 +32,6 @@ emojiorig="${emojifilebase}.orig"
if [ ! -e "${emojidb}/${emojifile}" ];
then
- case "${emojiprompt}" in
- *beautify*)
- emojiprompt="$(stable-diffusion-beautify-prompt "${emojiprompt…
- ;;
- esac
-
SD_MODEL="/br/ai/stable-diffusion.cpp/models/epicphotogasm_x-ggml-mode…
stable-diffusion "${emojidb}/${emojifile}" "${emojiprompt}"
if [ -e "${emojidb}/${emojifile}" ];
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.