fix
Browse files- models/__init__.py +1 -1
models/__init__.py
CHANGED
|
@@ -460,7 +460,7 @@ def run_matany(matany: object,
|
|
| 460 |
return None, None, False
|
| 461 |
try:
|
| 462 |
if hasattr(matany, "process_video"):
|
| 463 |
-
out = matany.process_video(input_path=str(video_path), mask_path=str(first_mask_path),
|
| 464 |
if isinstance(out, (list, tuple)) and len(out) >= 2:
|
| 465 |
return str(out[0]), str(out[1]), True
|
| 466 |
if isinstance(out, dict):
|
|
|
|
| 460 |
return None, None, False
|
| 461 |
try:
|
| 462 |
if hasattr(matany, "process_video"):
|
| 463 |
+
out = matany.process_video(input_path=str(video_path), mask_path=str(first_mask_path), output_path=str(work_dir))
|
| 464 |
if isinstance(out, (list, tuple)) and len(out) >= 2:
|
| 465 |
return str(out[0]), str(out[1]), True
|
| 466 |
if isinstance(out, dict):
|