jbetker commited on
Commit
54a946d
1 Parent(s): 8d03559

Some fixes

Browse files
Files changed (2) hide show
  1. do_tts.py +2 -1
  2. requirements.txt +3 -2
do_tts.py CHANGED
@@ -6,7 +6,7 @@ from urllib import request
6
  import torch
7
  import torch.nn.functional as F
8
  import torchaudio
9
- from progressbar import progressbar
10
 
11
  from models.dvae import DiscreteVAE
12
  from models.autoregressive import UnifiedVoice
@@ -27,6 +27,7 @@ def download_models():
27
  'diffusion.pth': 'https://huggingface.co/jbetker/tortoise-tts-diffusion-v1/resolve/main/pytorch-model.bin',
28
  'autoregressive.pth': 'https://huggingface.co/jbetker/tortoise-tts-autoregressive/resolve/main/pytorch-model.bin'
29
  }
 
30
  def show_progress(block_num, block_size, total_size):
31
  global pbar
32
  if pbar is None:
 
6
  import torch
7
  import torch.nn.functional as F
8
  import torchaudio
9
+ import progressbar
10
 
11
  from models.dvae import DiscreteVAE
12
  from models.autoregressive import UnifiedVoice
 
27
  'diffusion.pth': 'https://huggingface.co/jbetker/tortoise-tts-diffusion-v1/resolve/main/pytorch-model.bin',
28
  'autoregressive.pth': 'https://huggingface.co/jbetker/tortoise-tts-autoregressive/resolve/main/pytorch-model.bin'
29
  }
30
+ os.makedirs('.models', exist_ok=True)
31
  def show_progress(block_num, block_size, total_size):
32
  global pbar
33
  if pbar is None:
requirements.txt CHANGED
@@ -3,6 +3,7 @@ torchaudio
3
  rotary_embedding_torch
4
  transformers
5
  tokenizers
6
- pyfastmp3decoder
7
  inflect
8
- progressbar
 
 
 
3
  rotary_embedding_torch
4
  transformers
5
  tokenizers
 
6
  inflect
7
+ progressbar
8
+ einops
9
+ unidecode