MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / __init__

Method __init__

diffsynth/data/video.py:8–9  ·  view source on GitHub ↗
(self, file_name)

Source from the content-addressed store, hash-verified

6
7class LowMemoryVideo:
8 def __init__(self, file_name):
9 self.reader = imageio.get_reader(file_name)
10
11 def __len__(self):
12 return self.reader.count_frames()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected