Colab を使用して作成されました

This commit is contained in:
w-okada 2024-06-30 16:12:37 +09:00
parent 1c5f3ee2a2
commit 6a852e8f0f

View File

@ -216,8 +216,7 @@
"colab": { "colab": {
"base_uri": "https://localhost:8080/", "base_uri": "https://localhost:8080/",
"height": 148 "height": 148
}, }
"cellView": "form"
}, },
"outputs": [ "outputs": [
{ {
@ -252,7 +251,8 @@
"# @title **[2]** Start server\n", "# @title **[2]** Start server\n",
"# @markdown This cell will start the server, the first time that you run it will download the models, so it can take a while (2~4 minutes)\n", "# @markdown This cell will start the server, the first time that you run it will download the models, so it can take a while (2~4 minutes)\n",
"\n", "\n",
"#@markdown - Options:\n", "\n",
"# @markdown ### Options:\n",
"ClearConsole = True # @param {type:\"boolean\"}\n", "ClearConsole = True # @param {type:\"boolean\"}\n",
"Play_Notification = True # @param {type:\"boolean\"}\n", "Play_Notification = True # @param {type:\"boolean\"}\n",
"\n", "\n",
@ -312,13 +312,29 @@
" play_notification_sound('https://huggingface.co/wok000/voices/resolve/main/vcclient001_vctk229_gpt-sovits_vcclient-ready.wav')\n", " play_notification_sound('https://huggingface.co/wok000/voices/resolve/main/vcclient001_vctk229_gpt-sovits_vcclient-ready.wav')\n",
"wait_for_server()\n" "wait_for_server()\n"
] ]
},
{
"cell_type": "code",
"source": [
"# @title **[FAQ]**\n",
"\n",
"# @markdown #### Q. Delay is too large, why?\n",
"# @markdown #### A. In the Colab edition, the audio output buffer is set larger to account for network latency. Depending on the environment, reducing this buffer may reduce delay. However, in some environments, this may cause the sound to become choppy due to network latency. The following diagram shows how to change the buffer size.\n",
"# @markdown <img src=\"https://huggingface.co/wok000/voices/resolve/main/%5Bimg%5Dvcclient001_output_buffer_size_ratio.png?download=true\" width=\"600\">\n"
],
"metadata": {
"cellView": "form",
"id": "1uN-kGd5-IYx"
},
"execution_count": null,
"outputs": []
} }
], ],
"metadata": { "metadata": {
"colab": { "colab": {
"provenance": [], "provenance": [],
"gpuType": "T4", "gpuType": "T4",
"authorship_tag": "ABX9TyO4xBCjHQ5g0B28Cfbnr1eo", "authorship_tag": "ABX9TyPEPBkGLPAGJGofiLPcnQhG",
"include_colab_link": true "include_colab_link": true
}, },
"kernelspec": { "kernelspec": {