From 080f34940307cadd1912c47e788a361f75c58b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=C3=A9fossez?= Date: Thu, 3 Jul 2025 15:04:01 +0200 Subject: [PATCH] plop --- tts_pytorch.ipynb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tts_pytorch.ipynb b/tts_pytorch.ipynb index c44b396..2916178 100644 --- a/tts_pytorch.ipynb +++ b/tts_pytorch.ipynb @@ -7,10 +7,11 @@ "metadata": {}, "outputs": [], "source": [ - "!pip install \"moshi==0.2.7\"\n", - "# If running from a Google Colab, you can instead use the following two lines to prevent PyTorch from being reinstalled.\n", - "# !pip install 'sphn < 0.2'# If\n", - "# !pip install --no-deps \"moshi==0.2.7" + "# Fast install, might break in the future.\n", + "!pip install 'sphn<0.2'\n", + "!pip install --no-deps \"moshi==0.2.7\n", + "# Slow install (will download torch and cuda), but future proof.\n", + "# !pip install \"moshi==0.2.7\"" ] }, { @@ -78,6 +79,7 @@ "print(\"Generating audio...\")\n", "\n", "pcms = []\n", + "\n", "@torch.no_grad()\n", "def _on_frame(frame):\n", " print(\"Step\", len(pcms), end=\"\\r\")\n",