Skip to content

Commit 62cd42c

Browse files
author
opencode
committed
Add tkinter and torch submodules to hiddenimports for better Linux build
1 parent ec6f2f4 commit 62cd42c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

voice_app.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ a = Analysis(
1111
hiddenimports=[
1212
'faster_whisper',
1313
'torch',
14+
'torch.nn',
15+
'torch.optim',
1416
'scipy',
1517
'pygame',
1618
'PIL',
@@ -26,7 +28,9 @@ a = Analysis(
2628
'tempfile',
2729
'wave',
2830
'threading',
29-
'time'
31+
'time',
32+
'tkinter',
33+
'tkinter.ttk'
3034
],
3135
hookspath=[],
3236
hooksconfig={},

0 commit comments

Comments
 (0)