Spaces:
Running
on
Zero
Running
on
Zero
fix resize
Browse files
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
|