jbetker commited on
Commit
2a67565
1 Parent(s): 053b8d1
Files changed (1) hide show
  1. api.py +5 -5
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/main/.models/autoregressive.pth',
27
- 'clvp.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/clvp.pth',
28
- 'cvvp.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/cvvp.pth',
29
- 'diffusion_decoder.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/diffusion_decoder.pth',
30
- 'vocoder.pth': 'https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/vocoder.pth',
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):