convert progress display to a drop-down

This commit is contained in:
damian0815
2022-11-01 13:19:20 +01:00
committed by Lincoln Stein
parent 4929ae6c1d
commit 15fa246ccf
7 changed files with 587 additions and 53 deletions

View File

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