easy update notebook

This commit is contained in:
Engineer-of-Stuff 2022-09-11 16:42:53 -06:00
parent 56ba4da038
commit bff33731e4
1 changed files with 26 additions and 0 deletions

View File

@ -502,6 +502,13 @@
"# Tools"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Show graphics card info**"
]
},
{
"cell_type": "code",
"execution_count": null,
@ -510,6 +517,25 @@
"source": [
"!nvidia-smi"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Download the latest version of this notebook from Github**\n",
"\n",
"Run this and then close this notebook. Don't save anything."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!mv /notebooks/StableDiffusionUI_Voldemort_paperspace.ipynb /notebooks/StableDiffusionUI_Voldemort_paperspace.ipynb.backup\n",
"!wget https://raw.githubusercontent.com/Engineer-of-Stuff/stable-diffusion-paperspace/main/StableDiffusionUI_Voldemort_paperspace.ipynb -O /notebooks/StableDiffusionUI_Voldemort_paperspace.ipynb"
]
}
],
"metadata": {