Update app.py
Browse files
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
|
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 |
|