Browse Source

Add a print to colab.

pull/38/head
comfyanonymous 2 years ago
parent
commit
1e2c4df972
  1. 5
      notebooks/comfyui_colab.ipynb

5
notebooks/comfyui_colab.ipynb

@ -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"

Loading…
Cancel
Save