Browse Source

Colab notebook improvements.

pull/27/head
comfyanonymous 2 years ago
parent
commit
3263a2bf0e
  1. 29
      notebooks/comfyui_colab.ipynb

29
notebooks/comfyui_colab.ipynb

@ -43,7 +43,7 @@
{
"cell_type": "markdown",
"source": [
"Download some models/checkpoints/vae:"
"Download some models/checkpoints/vae (uncomment the ones you want)"
],
"metadata": {
"id": "cccccccccc"
@ -54,7 +54,10 @@
"source": [
"!wget https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/\n",
"!wget https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/\n",
"!wget https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors -P ./models/checkpoints/\n"
"#!wget https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors -P ./models/checkpoints/\n",
"#!wget https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1.safetensors -P ./models/checkpoints/\n",
"#!wget https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A3.safetensors -P ./models/checkpoints/\n",
"#!wget https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt -P ./models/vae/\n",
],
"metadata": {
"id": "dddddddddd"
@ -62,28 +65,6 @@
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"source": [
"Optional: Launch a http server to see the output pics (you can also download them by browsing to the output directory with colab):"
],
"metadata": {
"id": "eeeeeeeeee"
}
},
{
"cell_type": "code",
"source": [
"from google.colab import output\n",
"output.serve_kernel_port_as_window(8000)\n",
"get_ipython().system_raw('cd output && python3 -m http.server 8000 &') "
],
"metadata": {
"id": "ffffffffff"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"source": [

Loading…
Cancel
Save