mirror of https://github.com/coqui-ai/TTS.git
Merge pull request #2161 from coqui-ai/tutorials
fixed tutorial 2 incompatibility with new dev
This commit is contained in:
commit
c50d89fcf7
|
@ -107,7 +107,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 33,
|
||||
"execution_count": null,
|
||||
"id": "b3cb0191-b8fc-4158-bd26-8423c2a8ba66",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
|
@ -138,13 +138,13 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 31,
|
||||
"execution_count": null,
|
||||
"id": "76cd3ab5-6387-45f1-b488-24734cc1beb5",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"dataset_config = BaseDatasetConfig(\n",
|
||||
" name=\"ljspeech\", meta_file_train=\"metadata.csv\", path=os.path.join(output_path, \"LJSpeech-1.1/\")\n",
|
||||
" formatter=\"ljspeech\", meta_file_train=\"metadata.csv\", path=os.path.join(output_path, \"LJSpeech-1.1/\")\n",
|
||||
")"
|
||||
]
|
||||
},
|
||||
|
@ -215,7 +215,9 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"from TTS.utils.audio import AudioProcessor\n",
|
||||
"ap = AudioProcessor.init_from_config(config)"
|
||||
"ap = AudioProcessor.init_from_config(config)\n",
|
||||
"# Modify sample rate if for a custom audio dataset:\n",
|
||||
"# ap.sample_rate = 22050\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue