Update app.py
Browse files
app.py
CHANGED
@@ -298,7 +298,7 @@ def infer(prompt,video_in, trim_value):
|
|
298 |
image_array = np.array(to_numpy_i)
|
299 |
|
300 |
|
301 |
-
matte_img = run_grounded_sam(image_array, text_prompt, task_type, background_prompt, background_type, box_threshold, text_threshold, iou_threshold, scribble_mode, guidance_mode)
|
302 |
#print(pix2pix_img)
|
303 |
#image = Image.open(pix2pix_img)
|
304 |
#rgb_im = image.convert("RGB")
|
|
|
298 |
image_array = np.array(to_numpy_i)
|
299 |
|
300 |
|
301 |
+
matte_img = run_grounded_sam(image_array, text_prompt, task_type, background_prompt, background_type, box_threshold, text_threshold, iou_threshold, scribble_mode, guidance_mode)
|
302 |
#print(pix2pix_img)
|
303 |
#image = Image.open(pix2pix_img)
|
304 |
#rgb_im = image.convert("RGB")
|