Akjava commited on
Commit
1247d39
1 Parent(s): ca70941

fix resize

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def process_images(image,prompt="a girl",strength=0.75,seed=0,inference_step=4,p
67
 
68
  # more parameter see https://huggingface.co/docs/diffusers/api/pipelines/flux#diffusers.FluxInpaintPipeline
69
  #print(prompt)
70
- output = pipe(prompt=prompt, image=image,generator=generator,strength=strength
71
  ,guidance_scale=0,num_inference_steps=num_inference_steps,max_sequence_length=256)
72
 
73
  # TODO support mask
 
67
 
68
  # more parameter see https://huggingface.co/docs/diffusers/api/pipelines/flux#diffusers.FluxInpaintPipeline
69
  #print(prompt)
70
+ output = pipe(prompt=prompt, image=image,generator=generator,strength=strength,width=width,height=height
71
  ,guidance_scale=0,num_inference_steps=num_inference_steps,max_sequence_length=256)
72
 
73
  # TODO support mask