diff --git a/local-transcription.spec b/local-transcription.spec index 337dab9..ac593c8 100644 --- a/local-transcription.spec +++ b/local-transcription.spec @@ -122,7 +122,7 @@ for package in ['fastapi', 'starlette', 'pydantic', 'pydantic_core', 'anyio', 'u print(f" ⚠ Warning: Could not collect {package}: {e}") # Collect data files for packages that need them -for package in ['fastapi', 'starlette', 'pydantic', 'uvicorn']: +for package in ['fastapi', 'starlette', 'pydantic', 'uvicorn', 'RealtimeSTT']: try: data_files = collect_data_files(package) if data_files: diff --git a/pyproject.toml b/pyproject.toml index 0f08e9d..1b8701d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,7 @@ dependencies = [ "sounddevice>=0.4.6", "scipy>=1.10.0", "torch>=2.0.0", + "torchaudio>=2.0.0", # Must match torch CUDA version (from pytorch-cu121 index) "PySide6>=6.6.0", # RealtimeSTT for advanced VAD-based transcription "RealtimeSTT>=0.3.0",