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

Method __len__

diffsynth/data/video.py:55–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 self.file_list = [os.path.join(folder, file_name) for file_name in file_list]
54
55 def __len__(self):
56 return len(self.file_list)
57
58 def __getitem__(self, item):
59 return Image.open(self.file_list[item]).convert("RGB")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected