fix: Do not do step math for refinerSteps

This is probably better done on the backend or in a different way. This can cause steps to go above 1000 which is more than the set number for the model.
This commit is contained in:
blessedcoolant 2023-08-14 04:04:15 +12:00
parent 499e89d6f6
commit 746e099f0d

View File

@ -90,7 +90,7 @@ export const addSDXLRefinerToGraph = (
type: 'denoise_latents',
id: SDXL_REFINER_DENOISE_LATENTS,
cfg_scale: refinerCFGScale,
steps: refinerSteps / (1 - Math.min(refinerStart, 0.99)),
steps: refinerSteps,
scheduler: refinerScheduler,
denoising_start: refinerStart,
denoising_end: 1,