zhengchong commited on
Commit
c35ec9e
·
1 Parent(s): f97271b

feat: Add width and height parameters to submit_function_flux for enhanced image processing

Browse files

- Introduced `width` and `height` parameters in the `submit_function_flux` function, allowing users to specify the dimensions of the output images. This change improves flexibility in image processing and enhances user control over the generated results.

Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -331,6 +331,8 @@ def submit_function_flux(
331
  image=person_image,
332
  condition_image=cloth_image,
333
  mask_image=mask,
 
 
334
  num_inference_steps=num_inference_steps,
335
  guidance_scale=guidance_scale,
336
  generator=generator
 
331
  image=person_image,
332
  condition_image=cloth_image,
333
  mask_image=mask,
334
+ width=args.width,
335
+ height=args.height,
336
  num_inference_steps=num_inference_steps,
337
  guidance_scale=guidance_scale,
338
  generator=generator