mirror of https://github.com/coqui-ai/TTS.git
Ops! Map Notebooks imports for TTS current version
This commit is contained in:
parent
ad570f3cab
commit
8b9c951da7
|
@ -34,15 +34,15 @@
|
||||||
"\n",
|
"\n",
|
||||||
"import numpy as np\n",
|
"import numpy as np\n",
|
||||||
"from tqdm import tqdm\n",
|
"from tqdm import tqdm\n",
|
||||||
"from TTS.utils.speakers import save_speaker_mapping, load_speaker_mapping\n",
|
"from TTS.tts.utils.speakers import save_speaker_mapping, load_speaker_mapping\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# you may need to change this depending on your system\n",
|
"# you may need to change this depending on your system\n",
|
||||||
"os.environ['CUDA_VISIBLE_DEVICES']='0'\n",
|
"os.environ['CUDA_VISIBLE_DEVICES']='0'\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"from TTS.speaker_encoder.model import SpeakerEncoder\n",
|
"from TTS.tts.utils.speakers import save_speaker_mapping, load_speaker_mapping\n",
|
||||||
"from TTS.utils.audio import AudioProcessor\n",
|
"from TTS.utils.audio import AudioProcessor\n",
|
||||||
"from TTS.utils.generic_utils import load_config"
|
"from TTS.utils.io import load_config"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue