Skip to content

Commit

Permalink
fix: fix hubconf
Browse files Browse the repository at this point in the history
  • Loading branch information
ex3ndr committed Jul 14, 2024
1 parent 66dc03e commit d1e6c49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hubconf.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
dependencies = ['torch', 'torchaudio']
dependencies = ['torch', 'torchaudio', 'vocos', 'encodec']

def supervoice():

# Imports
import torch
import os
from supervoice_valle import SupervoceNARModel, SupervoceARModel, Tokenizer, Supervoice
from vocos import Vocos
from encodec import EncodecModel

# Load tokenizer
tokenizer = Tokenizer(os.path.join(os.path.dirname(__file__), "tokenizer_text.model"))
Expand Down

0 comments on commit d1e6c49

Please sign in to comment.