mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 13:35:12 +03:00
Colab を使用して作成されました
This commit is contained in:
parent
cccac62a5f
commit
0fbcd52729
@ -203,7 +203,7 @@
|
||||
"# @markdown ### Options:\n",
|
||||
"ClearConsole = True # @param {type:\"boolean\"}\n",
|
||||
"Play_Notification = True # @param {type:\"boolean\"}\n",
|
||||
"NgrokToken = \"\" # @param {type:\"string\"}\n",
|
||||
"NgrokToken = \"2iIApCAGO7wODHEUtZPDjbFq2bT_5H9VfYRx8oQBaXUT7EEH9\" # @param {type:\"string\"}\n",
|
||||
"\n",
|
||||
"PORT=8003\n",
|
||||
"NGROK_URL_FILE = \"ngrok_url.txt\"\n",
|
||||
@ -217,9 +217,14 @@
|
||||
"from google.colab.output import eval_js\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"if mode == \"elf\":\n",
|
||||
" # !LD_LIBRARY_PATH=/usr/lib64-nvidia:/usr/lib/x86_64-linux-gnu ./vcclient_latest_for_colab cui --port {PORT} --no_cui true &\n",
|
||||
" get_ipython().system_raw(f'LD_LIBRARY_PATH=/usr/lib64-nvidia:/usr/lib/x86_64-linux-gnu ./vcclient_latest_for_colab cui --port {PORT} --no_cui true --https False --ngrok_token {NgrokToken} --ngrok_proxy_url_file {NGROK_URL_FILE} >{LOG_FILE} 2>&1 &')\n",
|
||||
" if NgrokToken ==\"\":\n",
|
||||
" get_ipython().system_raw(f'LD_LIBRARY_PATH=/usr/lib64-nvidia:/usr/lib/x86_64-linux-gnu ./vcclient_latest_for_colab cui --port {PORT} --no_cui true --https False >{LOG_FILE} 2>&1 &')\n",
|
||||
" else:\n",
|
||||
" get_ipython().system_raw(f'LD_LIBRARY_PATH=/usr/lib64-nvidia:/usr/lib/x86_64-linux-gnu ./vcclient_latest_for_colab cui --port {PORT} --no_cui true --https False --ngrok_token {NgrokToken} --ngrok_proxy_url_file {NGROK_URL_FILE} >{LOG_FILE} 2>&1 &')\n",
|
||||
"elif mode == \"zip\":\n",
|
||||
" !LD_LIBRARY_PATH=/usr/lib64-nvidia:/usr/lib/x86_64-linux-gnu ./main cui --port {PORT} --no_cui true &\n",
|
||||
"\n",
|
||||
@ -266,6 +271,15 @@
|
||||
"wait_for_server()\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"source": [],
|
||||
"metadata": {
|
||||
"id": "CRZALk96MxuH"
|
||||
},
|
||||
"execution_count": null,
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"source": [
|
||||
@ -287,7 +301,7 @@
|
||||
"colab": {
|
||||
"provenance": [],
|
||||
"gpuType": "T4",
|
||||
"authorship_tag": "ABX9TyOQ2VZFXCzGQTAvv2SwjJz1",
|
||||
"authorship_tag": "ABX9TyM285GMdZ0Pq8hmQU8sArod",
|
||||
"include_colab_link": true
|
||||
},
|
||||
"kernelspec": {
|
||||
|
Loading…
Reference in New Issue
Block a user