mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
fca11ea2f9
commit
ddcb2310fd
Binary file not shown.
@ -11,9 +11,10 @@ save_dir = os.path.join(save_dir, outdir)
|
||||
if not os.path.exists(save_dir):
|
||||
os.makedirs(save_dir)
|
||||
|
||||
with open(metafile, 'r') as f:
|
||||
strings = f.readlines()
|
||||
#with open(metafile, 'r') as f:
|
||||
# strings = f.readlines()
|
||||
|
||||
wavs = sorted(glob.glob(f"{sys.argv[1]}/*.wav"))
|
||||
for string in strings:
|
||||
|
||||
# Split the string into parts
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user