fix(colab): zero shot import

This commit is contained in:
源文雨
2024-09-05 01:15:51 +09:00
parent a4c8a5a14f
commit 8fcc0cd6ae
+1 -1
View File
@@ -355,7 +355,7 @@
"metadata": {},
"outputs": [],
"source": [
"from tools.audio import load_audio\n",
"from ChatTTS.tools.audio import load_audio\n",
"\n",
"spk_smp = chat.sample_audio_speaker(load_audio(\"sample.mp3\", 24000))\n",
"print(spk_smp) # save it in order to load the speaker without sample audio next time\n",