Skip to content

Commit

Permalink
display different cfg and step values depending on model
Browse files Browse the repository at this point in the history
  • Loading branch information
ardaatahan committed Aug 30, 2024
1 parent b40fa66 commit 0436d98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/tasks/src/local-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ const snippetDiffusionKit = (model: ModelData): LocalAppSnippet[] => {
` --height 768 \\`,
` --width 1360 \\`,
` --seed 1001 \\`,
` --step 4 \\`,
` --step ${model.tags.includes("flux") ? 4 : 50} \\`,
` --cfg ${model.tags.includes("flux") ? 0. : 5} \\`,
` --output ~/Desktop/out.png`,
].join("\n");
return [
Expand Down

0 comments on commit 0436d98

Please sign in to comment.