Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files263 unmodified lines264265266267268269270271171 unmodified lines443444445446447448449263 unmodified linesreturn positive_prompts_embedsdef cut_videos(videos, sp_size):if videos.size(1) > 121:videos = videos[:, :121]t = videos.size(1)if t <= 4 * sp_size:print(f"Cut input video size: {videos.size()}")171 unmodified lines</a><h4>Notice</h4><p>This demo supports up to <b>720p</b> and <b>121 frames</b>.For other use cases (image restoration, video resolutions beyond 720p, etc), check the <a href='https://github.com/ByteDance-Seed/SeedVR' target='_blank'>GitHub repo</a>.</p><h4>Limitations</h4>263 unmodified lines264265266267268269270271171 unmodified lines443444445446447448449263 unmodified linesreturn positive_prompts_embedsdef cut_videos(videos, sp_size):if videos.size(1) > 101:videos = videos[:, :101]t = videos.size(1)if t <= 4 * sp_size:print(f"Cut input video size: {videos.size()}")171 unmodified lines</a><h4>Notice</h4><p>This demo supports up to <b>720p</b> and <b>101 frames</b>.For other use cases (image restoration, video resolutions beyond 720p, etc), check the <a href='https://github.com/ByteDance-Seed/SeedVR' target='_blank'>GitHub repo</a>.</p><h4>Limitations</h4>
app.py+3-3