diff --git a/notebooks/Tutorial_2_train_your_first_TTS_model.ipynb b/notebooks/Tutorial_2_train_your_first_TTS_model.ipynb index ace4835489..ea1d1a6b54 100644 --- a/notebooks/Tutorial_2_train_your_first_TTS_model.ipynb +++ b/notebooks/Tutorial_2_train_your_first_TTS_model.ipynb @@ -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" ] }, {