mirror of
https://github.com/2noise/ChatTTS.git
synced 2026-08-28 17:45:02 +08:00
fix(colab): zero shot import
This commit is contained in:
Vendored
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user