"ppstructure/vscode:/vscode.git/clone" did not exist on "6fe387ce03bd06cecfcee34dab8be17eec89f93b"
Commit d8af790f authored by comfyanonymous's avatar comfyanonymous
Browse files

Small colab notebook fix.

parent 266db206
...@@ -106,8 +106,10 @@ ...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment