Update app.py
Browse files
app.py
CHANGED
@@ -300,7 +300,7 @@ def infer(video_in, trim_value, prompt, background_prompt, background_type, box_
|
|
300 |
image_array = np.array(to_numpy_i)
|
301 |
|
302 |
|
303 |
-
matte_img = run_grounded_sam(image_array,
|
304 |
#print(pix2pix_img)u
|
305 |
#image = Image.open(pix2pix_img)
|
306 |
#rgb_im = image.convert("RGB")
|
|
|
300 |
image_array = np.array(to_numpy_i)
|
301 |
|
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")
|