SECRET - annna - Annna the nice friendly bot.
 (HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
       ---
 (DIR) commit 1b4fb6ff2e8b128debead3637c50389acec51ba0
 (DIR) parent a8717f6b51da87ba24497a1191374a9cfdd10f81
 (HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Sun, 20 Jul 2025 22:36:58 +0200
       
       SECRET
       
       Diffstat:
         M stable-diffusion                    |       5 +++--
       
       1 file changed, 3 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/stable-diffusion b/stable-diffusion
       @@ -8,7 +8,7 @@ then
                        "$(basename "${0}")" >&2
                exit 1
        fi
       -sdnegative='nipples, busty, nude, lowres, worst quality, low quality, normal quality, cropped, infant, blur, haze, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, bad anatomy, watermark, signature, cut off, low contrast, underexposed, overexposed, bad art, beginner, amateur, distorted face, blurry, draft, grainy, nsfw'
       +sdnegative='nipples, busty, nude, lowres, (worst quality, low quality, normal quality:2), cropped, infant, blur, haze, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, bad anatomy, watermark, signature, cut off, low contrast, underexposed, overexposed, bad art, beginner, amateur, distorted face, blurry, draft, grainy, nsfw'
        
        function local_sd() {
                outputf="${1}"
       @@ -40,8 +40,9 @@ function remote_sd() {
                sdmodel="${sdbase}/${SD_MODEL:-models/epicphotogasm_x.f16.gguf}"
        
                ollama-gpu \
       -                ${sdcmd} --type f16 -m ${sdmodel} -o "/tmp/${ofilename}" -p "${prompt}" -n "${sdnegative}" \
       +                "$(printf '%q ' ${sdcmd} --type f16 -m ${sdmodel} -o "/tmp/${ofilename}" -p "${prompt}" -n "${sdnegative}")" \
                        >/dev/null 2>&1
       +        [ $? -gt 0 ] && return
                scp -P 5680 "annna@gpu.r-36.net:/tmp/${ofilename}" "${outputf}"
                ollama-gpu rm "/tmp/${ofilename}"
        }