Add a print to colab.

This commit is contained in:
comfyanonymous 2023-03-01 10:53:18 -05:00
parent 725f7eb2a4
commit 1e2c4df972
1 changed files with 4 additions and 1 deletions

View File

@ -127,6 +127,7 @@
" if result == 0:\n", " if result == 0:\n",
" break\n", " break\n",
" sock.close()\n", " sock.close()\n",
" print(\"\\nComfyUI finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\")\n",
" p = subprocess.Popen([\"lt\", \"--port\", \"{}\".format(port)], stdout=subprocess.PIPE)\n", " p = subprocess.Popen([\"lt\", \"--port\", \"{}\".format(port)], stdout=subprocess.PIPE)\n",
" for line in p.stdout:\n", " for line in p.stdout:\n",
" print(line.decode(), end='')\n", " print(line.decode(), end='')\n",
@ -150,7 +151,9 @@
"\n", "\n",
"You should see the ui appear in an iframe. If you get a 403 error, it's your firefox settings or an extension that's messing things up.\n", "You should see the ui appear in an iframe. If you get a 403 error, it's your firefox settings or an extension that's messing things up.\n",
"\n", "\n",
"If you want to open it in another window use the link.\n" "If you want to open it in another window use the link.\n",
"\n",
"Note that some UI features like live image previews won't work because the colab iframe blocks websockets."
], ],
"metadata": { "metadata": {
"id": "gggggggggg" "id": "gggggggggg"