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

Sample code doesn't work #205

Open
chrisspen opened this issue Feb 2, 2024 · 0 comments
Open

Sample code doesn't work #205

chrisspen opened this issue Feb 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chrisspen
Copy link

Describe the bug

Attempting to run the sample code results in the error type object 'whispercpp.Whisper' has no attribute 'from_pretrained'

$ python
Python 3.11.7 (main, Dec  8 2023, 18:56:57) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from whispercpp import Whisper
Saving models to: ~/.ggml-models
>>> w = Whisper.from_pretrained("medium.en")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: type object 'whispercpp.Whisper' has no attribute 'from_pretrained'

To reproduce

No response

Expected behavior

No response

Environment

Ubuntu 22.04, Python 3.11.7

@chrisspen chrisspen added the bug Something isn't working label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant