Skip to content

The open-source AI voice studio. Clone, dictate, create.

Exclude sklearn, pandas, and torchaudio to reduce bundle size

Jamie Pinea57e7dbc548f
diff --git a/backend/build_binary.py b/backend/build_binary.py
index bbff5062..4793ca5f 100644
--- a/backend/build_binary.py
+++ b/backend/build_binary.py
@@ -42,6 +42,9 @@ def build_server():
'--exclude-module', 'tkinter',
'--exclude-module', 'unittest',
'--exclude-module', 'test',
+ '--exclude-module', 'sklearn',
+ '--exclude-module', 'pandas',
+ '--exclude-module', 'torchaudio',
])
# Add hidden imports