diff --git a/StableDiffusionUI_Voldemort_paperspace.ipynb b/StableDiffusionUI_Voldemort_paperspace.ipynb index 0d7706f..a8097ed 100644 --- a/StableDiffusionUI_Voldemort_paperspace.ipynb +++ b/StableDiffusionUI_Voldemort_paperspace.ipynb @@ -111,7 +111,6 @@ "cell_type": "markdown", "metadata": { "id": "F0EINk5M0s-w", - "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -243,7 +242,6 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ @@ -275,6 +273,23 @@ " !ls -la --block-size=GB /notebooks/models/$file" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Restart the Kernel" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import os\n", + "os.kill(os.getpid(), 9)" + ] + }, { "cell_type": "markdown", "metadata": { @@ -328,13 +343,6 @@ "\n", "!python /notebooks/stable-diffusion-webui/webui.py --share --ckpt $model_file --show-negative-prompt" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": {