From 97401aa84feb7b650952b6761fbac89d82b66c79 Mon Sep 17 00:00:00 2001 From: Rob Hallam <0504004h@student.gla.ac.uk> Date: Sun, 15 Sep 2024 23:24:59 +0100 Subject: [PATCH] fix: [LaughFE] restore check for input files --- pipeline/feature_extractors.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/feature_extractors.py b/pipeline/feature_extractors.py index 70de792..ba0f97f 100644 --- a/pipeline/feature_extractors.py +++ b/pipeline/feature_extractors.py @@ -107,6 +107,8 @@ class LaughterFeatureExtractor(FeatureExtractor): jrgillick's laughter-detection library can work with AV files directly! """ + if not self.input_files or len(self.input_files) == 0: + raise ValueError("No input files provided!") def run(self):