Some fixes
This commit is contained in:
parent
8d035595be
commit
54a946d0ae
|
@ -6,7 +6,7 @@ from urllib import request
|
||||||
import torch
|
import torch
|
||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
import torchaudio
|
import torchaudio
|
||||||
from progressbar import progressbar
|
import progressbar
|
||||||
|
|
||||||
from models.dvae import DiscreteVAE
|
from models.dvae import DiscreteVAE
|
||||||
from models.autoregressive import UnifiedVoice
|
from models.autoregressive import UnifiedVoice
|
||||||
|
@ -27,6 +27,7 @@ def download_models():
|
||||||
'diffusion.pth': 'https://huggingface.co/jbetker/tortoise-tts-diffusion-v1/resolve/main/pytorch-model.bin',
|
'diffusion.pth': 'https://huggingface.co/jbetker/tortoise-tts-diffusion-v1/resolve/main/pytorch-model.bin',
|
||||||
'autoregressive.pth': 'https://huggingface.co/jbetker/tortoise-tts-autoregressive/resolve/main/pytorch-model.bin'
|
'autoregressive.pth': 'https://huggingface.co/jbetker/tortoise-tts-autoregressive/resolve/main/pytorch-model.bin'
|
||||||
}
|
}
|
||||||
|
os.makedirs('.models', exist_ok=True)
|
||||||
def show_progress(block_num, block_size, total_size):
|
def show_progress(block_num, block_size, total_size):
|
||||||
global pbar
|
global pbar
|
||||||
if pbar is None:
|
if pbar is None:
|
||||||
|
|
|
@ -3,6 +3,7 @@ torchaudio
|
||||||
rotary_embedding_torch
|
rotary_embedding_torch
|
||||||
transformers
|
transformers
|
||||||
tokenizers
|
tokenizers
|
||||||
pyfastmp3decoder
|
|
||||||
inflect
|
inflect
|
||||||
progressbar
|
progressbar
|
||||||
|
einops
|
||||||
|
unidecode
|
Loading…
Reference in New Issue
Block a user