URI: 
       Fix overwriting the same prompts in new beautifier mode. - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 561500a9868aaee1ea72fb52b4c2aed79a3a3e5d
   DIR parent 7429173aef156876e4463fa07230c003ff8ef069
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       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(-)
       ---
   DIR 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-model-f16.bin" \
                stable-diffusion "${emojidb}/${emojifile}" "${emojiprompt}"
                if [ -e "${emojidb}/${emojifile}" ];