MCPcopy
hub / github.com/facefusion/facefusion / pre_check

Function pre_check

facefusion/benchmarker.py:18–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17
18def pre_check() -> bool:
19 conditional_download('.assets/examples',
20 [
21 resolve_download_url('examples-3.0.0', 'source.jpg'),
22 resolve_download_url('examples-3.0.0', 'source.mp3'),
23 resolve_download_url('examples-3.0.0', 'target-240p.mp4'),
24 resolve_download_url('examples-3.0.0', 'target-360p.mp4'),
25 resolve_download_url('examples-3.0.0', 'target-540p.mp4'),
26 resolve_download_url('examples-3.0.0', 'target-720p.mp4'),
27 resolve_download_url('examples-3.0.0', 'target-1080p.mp4'),
28 resolve_download_url('examples-3.0.0', 'target-1440p.mp4'),
29 resolve_download_url('examples-3.0.0', 'target-2160p.mp4')
30 ])
31 return True
32
33
34def run() -> Iterator[List[BenchmarkCycleSet]]:

Callers

nothing calls this directly

Calls 2

conditional_downloadFunction · 0.90
resolve_download_urlFunction · 0.90

Tested by

no test coverage detected