mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-26 18:25:29 +01:00
fix testing values
This commit is contained in:
parent
fcc196f452
commit
8158ead1a2
@ -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',
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user