capslock / stable-diffusion-bot

Telegram bot for Stable Diffusion, written in Rust.
https://capslock.github.io/stable-diffusion-bot/
MIT License
14 stars 4 forks source link

how to remove certain settings and text output? #2

Closed TimmekHW closed 1 year ago

TimmekHW commented 1 year ago

image

how to remove certain settings and text output?

a schoolgirl Negative prompt: easynegative, worst quality, bad-hands-5, bad-artist bad_prompt_version2:0.5 Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 5.0, Seed: 1161571314, Size: 512x768, Model hash: 4cf7896571, Model: anime_world_by_Timmek, Seed resize from: -1x-1, Denoising strength: 0

TimmekHW commented 1 year ago

I'm dumb. I have to recompile the binary

TimmekHW commented 1 year ago

how to build a binary file? "G:\rust.cargo\bin\stable-diffusion-bot.exe"

"G:\rust.cargo\git\checkouts\stable-diffusion-bot-d80246a563698de9\b766b28"?

capslock commented 1 year ago

You might be able to do it by going into the directory for the cargo install like you have listed above, but I recommend checking out a fresh copy from github:

git clone https://github.com/capslock/stable-diffusion-bot.git
cd stable-diffusion-bot
cargo build
# or cargo build --release
# or cargo run
# or cargo install --path .

cargo build puts the binary intarget/release or target/debug.

TimmekHW commented 1 year ago

image Everything turned out to be much easier ...