diff --git a/README.md b/README.md index d2f325a..62be194 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Here is how to choose which one to use: Hugging Face - + Open In Colab diff --git a/tts_pytorch.ipynb b/tts_pytorch.ipynb index 1e2659b..36ba489 100644 --- a/tts_pytorch.ipynb +++ b/tts_pytorch.ipynb @@ -7,7 +7,7 @@ "metadata": {}, "outputs": [], "source": [ - "!pip install git+https://git@github.com/kyutai-labs/moshi#egg=moshi&subdirectory=moshi" + "!pip install \"git+https://git@github.com/kyutai-labs/moshi#egg=moshi&subdirectory=moshi\"" ] }, { @@ -54,6 +54,7 @@ "tts_model = TTSModel.from_checkpoint_info(\n", " checkpoint_info, n_q=32, temp=0.6, device=torch.device(\"cuda\"), dtype=torch.half\n", ")\n", + "tts_model.mimi.streaming_forever(1)\n", "\n", "# You could also generate multiple audios at once by passing a list of texts.\n", "entries = tts_model.prepare_script([text], padding_between=1)\n",