This commit is contained in:
James Betker 2021-12-02 22:55:36 -07:00
parent 040d998922
commit 31fc693a8a

View File

@ -19,7 +19,7 @@ def load_tsv(filename):
with open(filename, encoding='utf-8') as f: with open(filename, encoding='utf-8') as f:
components = [line.strip().split('\t') for line in f] components = [line.strip().split('\t') for line in f]
base = os.path.dirname(filename) base = os.path.dirname(filename)
filepaths_and_text = [[os.path.join(base, f'clips/{component[1]}'), component[0]] for component in components] filepaths_and_text = [[os.path.join(base, f'{component[1]}'), component[0]] for component in components]
return filepaths_and_text return filepaths_and_text