Update pipeline/video_pipeline.py
Browse files
pipeline/video_pipeline.py
CHANGED
|
@@ -395,7 +395,7 @@ def _run_matanyone():
|
|
| 395 |
elapsed = int(time.time() - start_time)
|
| 396 |
if progress_callback:
|
| 397 |
progress_callback(f"🎬 MatAnyone processing... {elapsed}s elapsed")
|
| 398 |
-
t.join(timeout=
|
| 399 |
if elapsed > mat_timeout_sec:
|
| 400 |
break
|
| 401 |
|
|
|
|
| 395 |
elapsed = int(time.time() - start_time)
|
| 396 |
if progress_callback:
|
| 397 |
progress_callback(f"🎬 MatAnyone processing... {elapsed}s elapsed")
|
| 398 |
+
t.join(timeout=2) # Check every 5 seconds
|
| 399 |
if elapsed > mat_timeout_sec:
|
| 400 |
break
|
| 401 |
|