diff --git a/video2dataset/workers/download_worker.py b/video2dataset/workers/download_worker.py index f6db9440..96d51619 100644 --- a/video2dataset/workers/download_worker.py +++ b/video2dataset/workers/download_worker.py @@ -90,7 +90,7 @@ def __init__( audio_subsamplers: List[Any] = [] if "AudioRateSubsampler" in self.config["subsampling"]: - video_subsamplers.append(AudioRateSubsampler(**self.config["subsampling"]["AudioRateSubsampler"]["args"])) + audio_subsamplers.append(AudioRateSubsampler(**self.config["subsampling"]["AudioRateSubsampler"]["args"])) self.subsamplers = {"video": video_subsamplers, "audio": audio_subsamplers}