The open-source AI voice studio. Clone, dictate, create.
Collect all inflect files for PyInstaller (fixes typeguard inspect.getsource)
James Pineaada13a5c92c
diff --git a/backend/build_binary.py b/backend/build_binary.pyindex c291c10f..cf587dc2 100644--- a/backend/build_binary.py+++ b/backend/build_binary.py@@ -108,6 +108,9 @@ def build_server(cuda=False):# Fix for pkg_resources and jaraco namespace packages'--hidden-import', 'pkg_resources.extern','--collect-submodules', 'jaraco',+ # inflect uses typeguard @typechecked which calls inspect.getsource()+ # at import time — needs .py source files, not just .pyc bytecode+ '--collect-all', 'inflect',])# Add CUDA-specific hidden imports