:(
Browse files
api.py
CHANGED
@@ -23,11 +23,11 @@ from utils.tokenizer import VoiceBpeTokenizer, lev_distance
|
|
23 |
pbar = None
|
24 |
def download_models():
|
25 |
MODELS = {
|
26 |
-
'autoregressive.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/
|
27 |
-
'clvp.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/
|
28 |
-
'cvvp.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/
|
29 |
-
'diffusion_decoder.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/
|
30 |
-
'vocoder.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/
|
31 |
}
|
32 |
os.makedirs('.models', exist_ok=True)
|
33 |
def show_progress(block_num, block_size, total_size):
|
|
|
23 |
pbar = None
|
24 |
def download_models():
|
25 |
MODELS = {
|
26 |
+
'autoregressive.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/hf/.models/autoregressive.pth',
|
27 |
+
'clvp.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/hf/.models/clvp.pth',
|
28 |
+
'cvvp.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/hf/.models/cvvp.pth',
|
29 |
+
'diffusion_decoder.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/hf/.models/diffusion_decoder.pth',
|
30 |
+
'vocoder.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/hf/.models/vocoder.pth',
|
31 |
}
|
32 |
os.makedirs('.models', exist_ok=True)
|
33 |
def show_progress(block_num, block_size, total_size):
|