mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +00:00
Small colab notebook fix.
This commit is contained in:
parent
266db2066d
commit
d8af790fa6
@ -106,8 +106,10 @@
|
|||||||
" break\n",
|
" break\n",
|
||||||
" sock.close()\n",
|
" sock.close()\n",
|
||||||
" from google.colab import output\n",
|
" from google.colab import output\n",
|
||||||
" x = output.serve_kernel_port_as_window(port)\n",
|
" output.serve_kernel_port_as_iframe(port, height=1024)\n",
|
||||||
" x = output.serve_kernel_port_as_iframe(port, height=1024)\n",
|
" print(\"to open it in a window you can open this link here:\")\n",
|
||||||
|
" output.serve_kernel_port_as_window(port)\n",
|
||||||
|
"\n",
|
||||||
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
||||||
"\n",
|
"\n",
|
||||||
"!python main.py"
|
"!python main.py"
|
||||||
|
Loading…
Reference in New Issue
Block a user