diff --git a/python/voice_to_notes.spec b/python/voice_to_notes.spec index 5caefec..ed82974 100644 --- a/python/voice_to_notes.spec +++ b/python/voice_to_notes.spec @@ -39,6 +39,10 @@ a = Analysis( # circular import crashes under PyInstaller. These modules are only # needed for model format conversion, never for inference. "ctranslate2.converters", + # torchcodec is partially bundled by PyInstaller but non-functional + # (missing FFmpeg shared libs). Excluding it forces pyannote.audio + # to fall back to torchaudio for audio decoding. + "torchcodec", ], win_no_prefer_redirects=False, win_private_assemblies=False,