dafsdf
This commit is contained in:
parent
040d998922
commit
31fc693a8a
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user