Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import N_MELS from whisper.audio #1

Open
mattsoftware opened this issue Apr 25, 2024 · 0 comments
Open

cannot import N_MELS from whisper.audio #1

mattsoftware opened this issue Apr 25, 2024 · 0 comments

Comments

@mattsoftware
Copy link

Traceback (most recent call last):
  File "/Users/matt/Clients/Refactor/KJR/zac/classify.py", line 10, in <module>
    from whisper.audio import N_FRAMES, N_MELS, log_mel_spectrogram, pad_or_trim
ImportError: cannot import name 'N_MELS' from 'whisper.audio' (/Users/matt/.pyenv/versions/3.9.7/lib/python3.9/site-packages/whisper/audio.py)```

I suspect I am using an older version of whisper, is there any chance you could let me know whatversion of whisper this is known to work with?

I am very interested in trying to get this code up and running :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant