Skip to content

Commit

Permalink
improve values for sd xl turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Kennedy committed Mar 27, 2024
1 parent 19ae96e commit 12aa97a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/twitch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ TWITCH_MAX_TOKENS=150
SD_API=1
SD_MODEL=turbo
SD_INTERMEDIARY_IMAGES=1
SD_N_STEPS=20
SD_N_STEPS=50
ALIGNMENT=right
SUBTITLES=1
# === END OF CONFIGURATION ===
Expand Down
2 changes: 1 addition & 1 deletion src/sd_automatic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub async fn sd_auto(
steps: config.n_steps.unwrap_or(20),
width: config.width.unwrap_or(512),
height: config.height.unwrap_or(512),
cfg_scale: config.guidance_scale.unwrap_or(7.5),
cfg_scale: config.guidance_scale.unwrap_or(5.0),
sampler_index: "Euler".to_string(),
seed: config.seed.unwrap_or_else(rand::random) as u64,
n_iter: config.num_samples,
Expand Down

0 comments on commit 12aa97a

Please sign in to comment.