Fix: Corrected NotImplementedError in tts_pytorch.ipynb
This commit is contained in:
parent
70500c620e
commit
a09ac02022
|
|
@ -81,7 +81,7 @@
|
|||
"pcms = []\n",
|
||||
"def _on_frame(frame):\n",
|
||||
" print(\"Step\", len(pcms), end=\"\\r\")\n",
|
||||
" if (frame != -1).all():\n",
|
||||
" if (frame != -1).all().item():\n",
|
||||
" pcm = tts_model.mimi.decode(frame[:, 1:, :]).cpu().numpy()\n",
|
||||
" pcms.append(np.clip(pcm[0, 0], -1, 1))\n",
|
||||
"\n",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user