Skip to content

Commit c0c59ec

Browse files
committed
improve
1 parent 2b75d0d commit c0c59ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arduino/app_internal/core/audio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def _inference_loop(self):
149149
logger.debug(f"Processing sensor data with {len(features)} features.")
150150
try:
151151
ret = self.infer_from_features(features.tolist())
152-
spotted_keyword = AudioDetector.get_best_match(ret, self.confidence)
152+
spotted_keyword = self.get_best_match(ret, self.confidence)
153153
if spotted_keyword:
154154
keyword, confidence = spotted_keyword
155155
keyword = keyword.lower()

0 commit comments

Comments
 (0)