Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix new sed in sd-emoji. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit cd087519ba30946eb547cd3e3ca6a00e72e57a66
parent 9b31e88ede2b93b357249b30bd6bd94be1afb6a6
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 29 Oct 2023 19:29:59 +0100
Fix new sed in sd-emoji.
Diffstat:
M stable-diffusion-emoji | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/stable-diffusion-emoji b/stable-diffusion-emoji
@@ -14,7 +14,7 @@ emojiuribase="gophers://bitreich.org/9/emoji"
emojistr="$@"
emojiprompt="$(printf "%s\n" "${emojistr}" \
- | sed 's,^::,,; s,::$,,; s|[-,:=/\.]| |g' \
+ | sed 's,^::,,; s,::$,,; s|[-,:=/\.]| |g')"
emojifile="$(printf "%s\n" "${emojiprompt}" \
| cut -c -64 \
| sed 's, ,-,g').png"
@@ -27,3 +27,4 @@ then
stable-diffusion "${emojidb}/${emojifile}" "${emojiprompt}"
fi
[ $? -eq 0 ] && printf "gophers://bitreich.org/9/emoji/%s\n" "${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.