Spaces:
Running on Zero
Running on Zero
Download inference/preprocessing/__init__.py from hugging-apps/flashvsr-plus: direct link, hf CLI and curl.
- Browser
- Download file 747 Bytes
-
https://huggingface.co/spaces/hugging-apps/flashvsr-plus/resolve/main/inference/preprocessing/__init__.py
- Command line
-
hf download hf://spaces/hugging-apps/flashvsr-plus/inference/preprocessing/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/hugging-apps/flashvsr-plus/resolve/main/inference/preprocessing/__init__.py
747 Bytes
| from .input import load_lq_video, iter_lq_video, get_lq_video_fps, pil_center_crop_resize | |
| from .stream import TemporalVideoStream | |
| from .padding import ( | |
| pad_video_frames, | |
| repeat_last_frame, | |
| target_frame_count, | |
| truncate_video_frames, | |
| valid_frame_count, | |
| ) | |
| from .temporal import ( | |
| TemporalExpansion, | |
| expand_for_temporal_compression, | |
| merge_temporal_output, | |
| ) | |
| __all__ = [ | |
| "load_lq_video", | |
| "iter_lq_video", | |
| "get_lq_video_fps", | |
| "TemporalVideoStream", | |
| "pad_video_frames", | |
| "pil_center_crop_resize", | |
| "repeat_last_frame", | |
| "target_frame_count", | |
| "TemporalExpansion", | |
| "truncate_video_frames", | |
| "valid_frame_count", | |
| "expand_for_temporal_compression", | |
| "merge_temporal_output", | |
| ] | |