Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -311,7 +311,7 @@ def infer(video_in, trim_value, prompt, background_prompt):
|
|
| 311 |
results = run_grounded_sam(image_array, prompt, "text", background_prompt)
|
| 312 |
|
| 313 |
bg_img = Image.fromarray(results[0])
|
| 314 |
-
|
| 315 |
matte_img = Image.fromarray(results[2])
|
| 316 |
|
| 317 |
|
|
|
|
| 311 |
results = run_grounded_sam(image_array, prompt, "text", background_prompt)
|
| 312 |
|
| 313 |
bg_img = Image.fromarray(results[0])
|
| 314 |
+
green_img = Image.fromarray(results[1])
|
| 315 |
matte_img = Image.fromarray(results[2])
|
| 316 |
|
| 317 |
|