Bug: Whisper model.transcribe create a new process #1169
KarimMejri93
started this conversation in
Show and tell
Replies: 0 comments
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.
-
Hi, I am experiencing a problem with python's whisper library.
I have made a Python app that uses Electron as the FE, and when I run the app from Pycharm or terminal without packaging the app with Pyinstaller everything works correctly, while once the app is packaged into a macOS .app file the moment I invoke the transcribe method a new app window is generated. It seems as if transcribe generates a subprocess that inherits everything the parent process has.
Below is the simple code from which the problem is generated inside the app:
Do you know if you can suspend this creation of subprocesses by Whisper transcribe or possibly how do I shut down all these processes once transcribe is complete? It also seems that there remain processes associated with transcribe active even after termination
Beta Was this translation helpful? Give feedback.
All reactions