From 661be5feb4ebf9e55412d24eca6a7e15afbcc399 Mon Sep 17 00:00:00 2001 From: Luigi Solla Date: Fri, 18 Sep 2026 22:14:23 +0200 Subject: [PATCH] fix: add missing default for sess_options in run_extraction() --- src/livekit/wakeword/data/features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/livekit/wakeword/data/features.py b/src/livekit/wakeword/data/features.py index ffab2da..d0b1864 100644 --- a/src/livekit/wakeword/data/features.py +++ b/src/livekit/wakeword/data/features.py @@ -69,7 +69,7 @@ def extract_features_from_directory( return np.stack(all_features, axis=0) # (N_clips, 16, 96) -def run_extraction(config: WakeWordConfig, sess_options: SessionOptions) -> None: +def run_extraction(config: WakeWordConfig, sess_options: SessionOptions = None) -> None: """Extract and save features for all splits of a wake word config.""" mel_frontend = MelSpectrogramFrontend( onnx_path=get_mel_model_path(),