fffiloni commited on
Commit
fe09d17
·
1 Parent(s): 3d8a88c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -305,7 +305,7 @@ def infer(video_in, trim_value, prompt, background_prompt):
305
  # Convert the image to a NumPy array
306
  image_array = np.array(to_numpy_i)
307
 
308
- matte_img = run_grounded_sam(image_array, prompt, "text", background_prompt, background_type, box_threshold, text_threshold, iou_threshold, scribble_mode, guidance_mode)
309
 
310
  matte_img= Image.fromarray(matte_img[1])
311
 
 
305
  # Convert the image to a NumPy array
306
  image_array = np.array(to_numpy_i)
307
 
308
+ matte_img = run_grounded_sam(image_array, prompt, "text", background_prompt)
309
 
310
  matte_img= Image.fromarray(matte_img[1])
311