Skip to content

Colab version not working anymore #9

@Zennco23

Description

@Zennco23

Dear Carlos,

The Colab version is not working anymore. It is giving the following error.

Would you mind checking it and resolving the error?

Thanks very much!
Engin.

RuntimeError Traceback (most recent call last)
in <cell line: 0>()
100 print(f"\nLoading {use_model} model... {os.path.expanduser(f'~/.cache/whisper/{use_model}.pt')}")
101
--> 102 model = whisper.load_model(use_model, device=DEVICE)
103
104 print(

1 frames
/usr/local/lib/python3.11/dist-packages/whisper/model.py in set_alignment_heads(self, dump)
249 gzip.decompress(base64.b85decode(dump)), dtype=bool
250 ).copy()
--> 251 mask = torch.from_numpy(array).reshape(
252 self.dims.n_text_layer, self.dims.n_text_head
253 )

RuntimeError: Numpy is not available

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions