Colab を使用して作成されました
This commit is contained in:
parent
52411aa1d8
commit
bb6cdc8e72
@ -52,33 +52,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 1,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "W2GYWTHWmRIY",
|
"id": "W2GYWTHWmRIY",
|
||||||
"outputId": "88177d0e-d7a2-4a0b-fb09-578a5c27c430",
|
"cellView": "form"
|
||||||
"colab": {
|
|
||||||
"base_uri": "https://localhost:8080/"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"output_type": "stream",
|
|
||||||
"name": "stdout",
|
|
||||||
"text": [
|
|
||||||
"GPU is available\n",
|
|
||||||
"GPU Name: Tesla T4\n",
|
|
||||||
"Welcome to ColabMod\n",
|
|
||||||
"Downloading the latest vcclient... \n",
|
|
||||||
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
|
|
||||||
" Dload Upload Total Spent Left Speed\n",
|
|
||||||
"100 1149 100 1149 0 0 3004 0 --:--:-- --:--:-- --:--:-- 3007\n",
|
|
||||||
"100 2967M 100 2967M 0 0 154M 0 0:00:19 0:00:19 --:--:-- 219M\n",
|
|
||||||
"Download is done.\n",
|
|
||||||
"/content\n",
|
|
||||||
"Installing modules... Install is done.\n"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"#=================Updated=================\n",
|
"#=================Updated=================\n",
|
||||||
"# @title **[1]** Clone repository and install dependencies\n",
|
"# @title **[1]** Clone repository and install dependencies\n",
|
||||||
@ -160,8 +139,8 @@
|
|||||||
" latest_hash_path=f'{work_dir}/latest_hash.txt'\n",
|
" latest_hash_path=f'{work_dir}/latest_hash.txt'\n",
|
||||||
"\n",
|
"\n",
|
||||||
" if mode == \"elf\":\n",
|
" if mode == \"elf\":\n",
|
||||||
" # !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
|
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
|
||||||
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_2.0.44-alpha_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
|
" # !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_2.0.44-alpha_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
|
||||||
"\n",
|
"\n",
|
||||||
" elif mode == \"zip\":\n",
|
" elif mode == \"zip\":\n",
|
||||||
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab.zip -o {work_dir}/vcclient_latest_for_colab.zip\n",
|
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab.zip -o {work_dir}/vcclient_latest_for_colab.zip\n",
|
||||||
@ -178,8 +157,8 @@
|
|||||||
" latest_version_hash = open('latest_hash.txt').read().strip()\n",
|
" latest_version_hash = open('latest_hash.txt').read().strip()\n",
|
||||||
"\n",
|
"\n",
|
||||||
" if mode == \"elf\":\n",
|
" if mode == \"elf\":\n",
|
||||||
" # !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
|
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
|
||||||
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_2.0.44-alpha_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
|
" # !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_2.0.44-alpha_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
|
||||||
" elif mode == \"zip\":\n",
|
" elif mode == \"zip\":\n",
|
||||||
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab.zip -o {work_dir}/vcclient_latest_for_colab.zip\n",
|
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab.zip -o {work_dir}/vcclient_latest_for_colab.zip\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -207,45 +186,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 2,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "s7mYqKtW6VOI",
|
"id": "s7mYqKtW6VOI",
|
||||||
"outputId": "3c88d3c3-5888-479f-9256-c6719d15b1f2",
|
|
||||||
"colab": {
|
|
||||||
"base_uri": "https://localhost:8080/",
|
|
||||||
"height": 148
|
|
||||||
},
|
|
||||||
"cellView": "form"
|
"cellView": "form"
|
||||||
},
|
},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"output_type": "stream",
|
|
||||||
"name": "stdout",
|
|
||||||
"text": [
|
|
||||||
"--------- SERVER READY! ---------\n",
|
|
||||||
"Your server is available. elapsed: 98sec\n",
|
|
||||||
"https://wdc8fs91tuo-496ff2e9c6d22116-8003-colab.googleusercontent.com/\n",
|
|
||||||
"---------------------------------\n"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output_type": "display_data",
|
|
||||||
"data": {
|
|
||||||
"text/plain": [
|
|
||||||
"<IPython.lib.display.Audio object>"
|
|
||||||
],
|
|
||||||
"text/html": [
|
|
||||||
"\n",
|
|
||||||
" <audio controls=\"controls\" autoplay=\"autoplay\">\n",
|
|
||||||
" <source src=\"https://huggingface.co/wok000/voices/resolve/main/vcclient001_vctk229_gpt-sovits_vcclient-ready.wav\" type=\"audio/x-wav\" />\n",
|
|
||||||
" Your browser does not support the audio element.\n",
|
|
||||||
" </audio>\n",
|
|
||||||
" "
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"metadata": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"# @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",
|
||||||
@ -333,7 +279,7 @@
|
|||||||
"colab": {
|
"colab": {
|
||||||
"provenance": [],
|
"provenance": [],
|
||||||
"gpuType": "T4",
|
"gpuType": "T4",
|
||||||
"authorship_tag": "ABX9TyPL8HlIEcd7fZuat/q9Ir1k",
|
"authorship_tag": "ABX9TyPpbFBssircyl/qT8uDX2zy",
|
||||||
"include_colab_link": true
|
"include_colab_link": true
|
||||||
},
|
},
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user