fffiloni commited on
Commit
dcd9004
·
1 Parent(s): ebd2f4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -302,7 +302,7 @@ def infer(video_in, trim_value, prompt, background_prompt, background_type, box_
302
 
303
  matte_img = run_grounded_sam(image_array, prompt, "text", background_prompt, background_type, box_threshold, text_threshold, iou_threshold, scribble_mode, guidance_mode)
304
  #print(pix2pix_img)u
305
- #image = Image.open(pix2pix_img)
306
  #rgb_im = image.convert("RGB")
307
 
308
  # exporting the image
 
302
 
303
  matte_img = run_grounded_sam(image_array, prompt, "text", background_prompt, background_type, box_threshold, text_threshold, iou_threshold, scribble_mode, guidance_mode)
304
  #print(pix2pix_img)u
305
+ matte_img = Image.open(matte_img)
306
  #rgb_im = image.convert("RGB")
307
 
308
  # exporting the image