plop
This commit is contained in:
parent
0b5a5fbed2
commit
080f349403
|
|
@ -7,10 +7,11 @@
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"!pip install \"moshi==0.2.7\"\n",
|
"# Fast install, might break in the future.\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'\n",
|
||||||
"# !pip install 'sphn < 0.2'# If\n",
|
"!pip install --no-deps \"moshi==0.2.7\n",
|
||||||
"# !pip install --no-deps \"moshi==0.2.7"
|
"# 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",
|
"print(\"Generating audio...\")\n",
|
||||||
"\n",
|
"\n",
|
||||||
"pcms = []\n",
|
"pcms = []\n",
|
||||||
|
"\n",
|
||||||
"@torch.no_grad()\n",
|
"@torch.no_grad()\n",
|
||||||
"def _on_frame(frame):\n",
|
"def _on_frame(frame):\n",
|
||||||
" print(\"Step\", len(pcms), end=\"\\r\")\n",
|
" print(\"Step\", len(pcms), end=\"\\r\")\n",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user