| title: VideoBackgroundReplacer | |
| emoji: 🎬 | |
| colorFrom: purple | |
| colorTo: blue | |
| sdk: gradio | |
| sdk_version: 4.44.1 | |
| app_file: app.py | |
| pinned: false | |
| # Video Background Replacer | |
| AI-powered video background replacement using SAM2 and MatAnyone | |
| ## Self-test (no mocks) | |
| This repo includes a real self-test that runs actual compute (no dummy text). | |
| **CLI (local or in Spaces terminal):** | |
| ```bash | |
| python app.py --self-test | |
| # exits with code 0 if all checks pass, 2 if any check fails | |