Update hubert/hubert_manager.py
Browse files- hubert/hubert_manager.py +1 -1
hubert/hubert_manager.py
CHANGED
@@ -20,7 +20,7 @@ class HuBERTManager:
|
|
20 |
|
21 |
|
22 |
@staticmethod
|
23 |
-
def make_sure_tokenizer_installed(model: str = '
|
24 |
install_dir = os.path.join('data', 'models', 'hubert')
|
25 |
if not os.path.isdir(install_dir):
|
26 |
os.makedirs(install_dir, exist_ok=True)
|
|
|
20 |
|
21 |
|
22 |
@staticmethod
|
23 |
+
def make_sure_tokenizer_installed(model: str = 'polish-HuBERT-quantizer_8_epoch.pth', repo: str = 'Hobis/bark-voice-cloning-polish-HuBERT-quantizer', local_file: str = 'tokenizer.pth'):
|
24 |
install_dir = os.path.join('data', 'models', 'hubert')
|
25 |
if not os.path.isdir(install_dir):
|
26 |
os.makedirs(install_dir, exist_ok=True)
|