docs
This commit is contained in:
@@ -29,7 +29,7 @@ def main(model, language, directory):
|
||||
if any([ file_is_audio(f) for f in filenames ]):
|
||||
# audio files exist here, so let's process this folder
|
||||
for f in filenames:
|
||||
if get_file_extension(f) in song_file_extensions:
|
||||
if file_is_audio(f):
|
||||
filename = os.path.join(dirpath, f)
|
||||
# get corresponding txt file name
|
||||
# (we expect unaligned files to have the same filename as the song, except for the extension)
|
||||
|
||||
Reference in New Issue
Block a user