rootglitch commited on
Commit
324ddca
·
1 Parent(s): ad895a9

Rollback to AI images

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -583,11 +583,9 @@ def blend_details(input_image, relit_image, masked_image, scaling_factor=1):
583
  @spaces.GPU
584
  def generate_image(input_image_path, prompt):
585
 
586
- input_img = resize_to_square(input_image_path, 64)
587
 
588
- # ai_gen_image = generate_ai_bg(input_img, prompt)
589
-
590
- ai_gen_image = input_img
591
 
592
  mask_input_image = run_grounded_sam(input_img)
593
 
 
583
  @spaces.GPU
584
  def generate_image(input_image_path, prompt):
585
 
586
+ input_img = resize_to_square(input_image_path, 512)
587
 
588
+ ai_gen_image = generate_ai_bg(input_img, prompt)
 
 
589
 
590
  mask_input_image = run_grounded_sam(input_img)
591