mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-02 16:23:58 +03:00
Update
This commit is contained in:
parent
183b109844
commit
a9dcefc772
@ -126,15 +126,12 @@
|
||||
"# @title **[4]** Start Server\n",
|
||||
"# @markdown **Run this cell AFTER ngrok setup!**\\\n",
|
||||
"# @markdown This cell will start the server, the first time that you run it will download the example models, so it can take a while and console may be spammed a little bit. **So be fast to open the server link.**\n",
|
||||
"\n",
|
||||
"# Make sure that we are in the server folder after Colab restarts.\n",
|
||||
"\n",
|
||||
"import portpicker\n",
|
||||
"PORT = portpicker.pick_unused_port()\n",
|
||||
"\n",
|
||||
"from pyngrok import ngrok\n",
|
||||
"public_url = ngrok.connect(PORT).public_url\n",
|
||||
"#print(\" * ngrok tunnel \\\"{}\\\" -> \\\"http://127.0.0.1:{}/\\\"\".format(public_url, PORT))\n",
|
||||
"\n",
|
||||
"print(\"Your server will be available at:\")\n",
|
||||
"print(public_url)\n",
|
||||
"print(public_url)\n",
|
||||
@ -177,4 +174,4 @@
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 0
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user