From e23ea90db6d9b0257d26247f94caf1a75b1cff91 Mon Sep 17 00:00:00 2001 From: Arda Atahan Ibis Date: Thu, 29 Aug 2024 13:53:05 -0700 Subject: [PATCH] display different cfg and step values depending on model --- packages/tasks/src/local-apps.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/tasks/src/local-apps.ts b/packages/tasks/src/local-apps.ts index 661b9191d..1f84d7186 100644 --- a/packages/tasks/src/local-apps.ts +++ b/packages/tasks/src/local-apps.ts @@ -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 [