fix testing values

This commit is contained in:
caranicas 2022-09-14 14:32:01 -04:00
parent fcc196f452
commit 8158ead1a2
2 changed files with 3 additions and 4 deletions

View File

@ -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',

View File

@ -67,13 +67,13 @@ interface ImageCreateState {
// @ts-ignore
export const useImageCreate = create<ImageCreateState>(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,