Spaces:
Running on Zero
Running on Zero
Commit History
-
Add 4x super-resolution upscaling stage (FR-4, FR-5, ID-2, CR-2)
postprocess/upscale/: 4xLSDIRCompact (SRVGGNetCompact, num_conv=16) tiled CPU upscaling, vendored from the reference project (inference structure adapted from xinntao/Real-ESRGAN, BSD-3-Clause). Runs after interpolation and outside the @spaces.GPU call, so it never bids for ZeroGPU time. Wired into app.py's "Upscale 4x" checkbox. Also adds .gitignore for __pycache__/ and the RIFE weights downloaded at runtime. Closes #6 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>819311d -
Add RIFE frame interpolation stage (FR-3, FR-5, ID-1)
postprocess/interpolation.py: RIFE v4.26 (thornmaze/RIFE), fp16, 2x/4x/8x multiplier, runs on GPU inside the same @spaces.GPU allocation as generation, wired into app.py's "Video Fluidity" dropdown. Vendors model/warplayer.py, model/loss.py, and model/pytorch_msssim/ from hzwer/Practical-RIFE (MIT) since the downloaded train_log/RIFE_HDv3.py module imports from a sibling `model` package at load time. Closes #5 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>f5e3ffa