How do I package whisper with PyInstaller #1479
Unanswered
hewenzhuo1
asked this question in
Q&A
Replies: 2 comments 1 reply
-
In my .spec file, I had to manually include the assets folder: datas=[
('env/lib/python3.10/site-packages/whisper/assets', './whisper/assets')
], There may be a slicker way of doing this with pyinstaller. Also - you will probbaly have to declare your main function like this: if __name__ == '__main__':
# Pyinstaller fix
multiprocessing.freeze_support()
main() Without |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think this worked back in 2023. but now i get
Any ideas on how to fix that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to package the program containing whisper using PyInstaller but he reported an error.
Is there an expert who can help me with what I should do!
Beta Was this translation helpful? Give feedback.
All reactions