File size: 599 Bytes
705fdf1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""Kaggle notebook body: clone the eight mined voices and render samples."""
import os
import subprocess
import sys

from notebook_eval import BUNDLE, MODEL, ROOT, WEIGHTS, pull, stage_deps, stage_repo

BUNDLE_REPO = "idefinity/webfm-eval"


def main() -> None:
    stage_repo()
    stage_deps()
    pull(WEIGHTS, MODEL)
    pull(BUNDLE_REPO, BUNDLE, repo_type="dataset")
    env = dict(os.environ, WORK_ROOT=str(ROOT))
    rc = subprocess.run([sys.executable, str(BUNDLE / "kaggle/clone_voices.py")], env=env).returncode
    print(f"clone_voices exit={rc}")


if __name__ == "__main__":
    main()