Skip to content

Commit

Permalink
rename hubconf
Browse files Browse the repository at this point in the history
  • Loading branch information
jstzwj committed Nov 14, 2022
1 parent c8af27d commit a958174
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from hifigan.mel_processing import mel_spectrogram_torch

# Load checkpoint (either hubert_soft or hubert_discrete)
hifigan = torch.hub.load("vtuber-plan/hifi-gan:main", "HifiGANGenerator").cuda()
# Load checkpoint
hifigan = torch.hub.load("vtuber-plan/hifi-gan:main", "HifiGANGenerator", force_reload=True).cuda()

# Load audio
wav, sr = torchaudio.load("test.wav")
Expand Down

0 comments on commit a958174

Please sign in to comment.