diff --git a/ui/frontend/build_src/src/api/index.ts b/ui/frontend/build_src/src/api/index.ts index 205d9964..ce3eb655 100644 --- a/ui/frontend/build_src/src/api/index.ts +++ b/ui/frontend/build_src/src/api/index.ts @@ -41,7 +41,6 @@ export const MakeImageKey = 'MakeImage'; export const doMakeImage = async (reqBody: ImageRequest) => { const {seed, num_outputs} = reqBody; - console.log('doMakeImage', seed, num_outputs); const res = await fetch(`${API_URL}/image`, { method: 'POST', diff --git a/ui/frontend/build_src/src/store/imageCreateStore.ts b/ui/frontend/build_src/src/store/imageCreateStore.ts index 48176cd5..493746e9 100644 --- a/ui/frontend/build_src/src/store/imageCreateStore.ts +++ b/ui/frontend/build_src/src/store/imageCreateStore.ts @@ -67,13 +67,13 @@ interface ImageCreateState { // @ts-ignore export const useImageCreate = create(devtools((set, get) => ({ - parallelCount: 2, + parallelCount: 1, requestOptions:{ prompt: 'a photograph of an astronaut riding a horse', seed: useRandomSeed(), - num_outputs: 2, - num_inference_steps: 5, + num_outputs: 1, + num_inference_steps: 50, guidance_scale: 7.5, width: 512, height: 512,