-
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
I noticed that the current requirements of whisper encourages any version of numpy, hence it defaults to higher versions.
The model is compiled with numpy 1.x.x in mind. I would suggest changing the notebook to force it to be numpy 1.x.x or else anyone requesting transcriptions will be faced with errors
So we go from:
!pip install --root-user-action=ignore git+https://github.com/openai/whisper.git@v20231117 openai==1.9.0 numpy scipy deepl pydub cohere ffmpeg-python torch==2.1.0 tensorflow-probability==0.23.0 typing-extensions==4.9.0
to:
!pip install --root-user-action=ignore git+https://github.com/openai/whisper.git@v20231117 openai==1.9.0 numpy~=1.2 scipy deepl pydub cohere ffmpeg-python torch==2.1.0 tensorflow-probability==0.23.0 typing-extensions==4.9.0
Metadata
Metadata
Assignees
Labels
No labels