add option to show intermediate latent space

This commit is contained in:
damian
2022-11-01 11:17:43 +01:00
committed by Lincoln Stein
parent f4576dcc2d
commit d85cd99f17
9 changed files with 745 additions and 24 deletions

View File

@@ -62,7 +62,7 @@ export const frontendToBackendParameters = (
shouldRandomizeSeed,
} = optionsState;
const { shouldDisplayInProgressType } = systemState;
const { shouldDisplayInProgress, shouldDisplayInProgressLatents } = systemState;
const generationParameters: { [k: string]: any } = {
prompt,
@@ -76,8 +76,8 @@ export const frontendToBackendParameters = (
width,
sampler_name: sampler,
seed,
progress_images: shouldDisplayInProgressType === 'full-res',
progress_latents: shouldDisplayInProgressType === 'latents'
progress_images: shouldDisplayInProgress,
progress_latents: shouldDisplayInProgressLatents,
};
generationParameters.seed = shouldRandomizeSeed