This commit is contained in:
Wojciech Smolak 2020-08-21 22:56:24 +02:00
parent a7625d6ea4
commit 08e485dc79
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def main(args):
col = get_mongo_collection(col_name, db_name, mongo_uri)
batch_size = int(args.batch_size)
source = args.source
channels = args.channels
channels = int(args.channels)
waves = get_wav_list(col, batch_size, source)
uris = [w for w in waves]
uris = list(map(lambda x: dict(x, **{'channels': channels}), uris))