From 34a1d4a42c9c340d8880ae4782c223bdd1994d57 Mon Sep 17 00:00:00 2001 From: space-nuko <24979496+space-nuko@users.noreply.github.com> Date: Thu, 25 May 2023 01:32:25 -0500 Subject: [PATCH] Update colab --- notebooks/ComfyBox_Colab.ipynb | 64 +++------------------------------- 1 file changed, 5 insertions(+), 59 deletions(-) diff --git a/notebooks/ComfyBox_Colab.ipynb b/notebooks/ComfyBox_Colab.ipynb index 915d3fc..8f0b06e 100644 --- a/notebooks/ComfyBox_Colab.ipynb +++ b/notebooks/ComfyBox_Colab.ipynb @@ -11,7 +11,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -5087,7 +5087,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -5219,60 +5219,6 @@ "\n" ] }, - { - "cell_type": "code", - "source": [ - "!apt-get install net-tools\n", - "!sudo netstat -tanlp | grep 8000\n", - "!sudo netstat -tanlp | grep 8000 | tr -s ' ' | cut -d$' ' -f 7 | cut -d$'/' -f 1 | xargs -I'{{}}' -- kill -9 {{}}\n", - "!npm install http-server -g\n", - "%cd /content/ComfyUI/ComfyBox\n", - "!http-server -p 8000" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "fv3xjKdXasyM", - "outputId": "1e0f279a-1c9e-402b-b243-f751be0d45fe" - }, - "execution_count": 4, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Reading package lists... Done\n", - "Building dependency tree \n", - "Reading state information... Done\n", - "net-tools is already the newest version (1.60+git20180626.aebd88e-1ubuntu1).\n", - "0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.\n", - "\u001b[K\u001b[?25h^C\n", - "/content/ComfyUI/ComfyBox\n", - "\u001b[33mStarting up http-server, serving \u001b[39m\u001b[36m./public\u001b[39m\n", - "\u001b[33m\u001b[39m\n", - "\u001b[33mhttp-server version: \u001b[39m\u001b[36m14.1.1\u001b[39m\n", - "\u001b[33m\u001b[39m\n", - "\u001b[33mhttp-server settings: \u001b[39m\n", - "\u001b[33mCORS: \u001b[39m\u001b[31mdisabled\u001b[39m\n", - "\u001b[33mCache: \u001b[39m\u001b[36m3600 seconds\u001b[39m\n", - "\u001b[33mConnection Timeout: \u001b[39m\u001b[36m120 seconds\u001b[39m\n", - "\u001b[33mDirectory Listings: \u001b[39m\u001b[36mvisible\u001b[39m\n", - "\u001b[33mAutoIndex: \u001b[39m\u001b[36mvisible\u001b[39m\n", - "\u001b[33mServe GZIP Files: \u001b[39m\u001b[31mfalse\u001b[39m\n", - "\u001b[33mServe Brotli Files: \u001b[39m\u001b[31mfalse\u001b[39m\n", - "\u001b[33mDefault File Extension: \u001b[39m\u001b[31mnone\u001b[39m\n", - "\u001b[33m\u001b[39m\n", - "\u001b[33mAvailable on:\u001b[39m\n", - " http://127.0.0.1:\u001b[32m8000\u001b[39m\n", - " http://172.28.0.12:\u001b[32m8000\u001b[39m\n", - "Hit CTRL-C to stop the server\n", - "\n", - "\u001b[31mhttp-server stopped.\u001b[39m\n" - ] - } - ] - }, { "cell_type": "markdown", "metadata": { @@ -5297,7 +5243,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -5504,7 +5450,7 @@ "id": "Mb9eL6UgLe-Y", "outputId": "c27d662c-fd9f-414e-f6c6-c51ae48895d6" }, - "execution_count": 12, + "execution_count": null, "outputs": [ { "output_type": "stream", @@ -5550,7 +5496,7 @@ "id": "iJOWHPQQgkWW", "outputId": "00790864-0d74-48a6-8b73-98eb9b3671a7" }, - "execution_count": 6, + "execution_count": null, "outputs": [ { "output_type": "display_data",