Skip to content

Commit

Permalink
Import hf_hub_download to download the model during inference.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoq committed May 7, 2024
1 parent e94cefb commit 104fe9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions whisperspeech/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# %% ../nbs/D. Common inference utilities.ipynb 1
import torch
import torch.nn.functional as F
from huggingface_hub import hf_hub_download

from contextlib import nullcontext

Expand Down

0 comments on commit 104fe9c

Please sign in to comment.