Skip to content

Commit

Permalink
Creado con Colab
Browse files Browse the repository at this point in the history
  • Loading branch information
bobgus39 committed Jul 16, 2024
1 parent 87b69e9 commit 5b663b2
Showing 1 changed file with 96 additions and 0 deletions.
96 changes: 96 additions & 0 deletions Fooocus_colab.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyOKkB9pxwt4/KILlEQY3rAA",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/bobgus39/APMC.github.io/blob/main/Fooocus_colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Xn34mxfbUMWq",
"outputId": "9cae9928-6aa1-4487-fb5e-6aeb36cabf90"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Collecting pygit2==1.12.2\n",
" Downloading pygit2-1.12.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.9/4.9 MB\u001b[0m \u001b[31m14.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: cffi>=1.9.1 in /usr/local/lib/python3.10/dist-packages (from pygit2==1.12.2) (1.16.0)\n",
"Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.9.1->pygit2==1.12.2) (2.22)\n",
"Installing collected packages: pygit2\n",
"Successfully installed pygit2-1.12.2\n",
"/content\n",
"Cloning into 'Fooocus'...\n",
"remote: Enumerating objects: 6470, done.\u001b[K\n",
"remote: Counting objects: 100% (84/84), done.\u001b[K\n",
"remote: Compressing objects: 100% (66/66), done.\u001b[K\n",
"remote: Total 6470 (delta 30), reused 48 (delta 15), pack-reused 6386\u001b[K\n",
"Receiving objects: 100% (6470/6470), 33.17 MiB | 23.96 MiB/s, done.\n",
"Resolving deltas: 100% (3688/3688), done.\n",
"/content/Fooocus\n",
"Already up-to-date\n",
"Update succeeded.\n",
"[System ARGV] ['entry_with_update.py', '--share', '--always-high-vram', '--theme', 'dark']\n",
"Python 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0]\n",
"Fooocus version: 2.4.3\n",
"Error checking version for torchsde: No package metadata was found for torchsde\n",
"Installing requirements\n",
"[Cleanup] Attempting to delete content of temp dir /tmp/fooocus\n",
"[Cleanup] Cleanup successful\n",
"Downloading: \"https://huggingface.co/lllyasviel/misc/resolve/main/xlvaeapp.pth\" to /content/Fooocus/models/vae_approx/xlvaeapp.pth\n",
"\n",
"100% 209k/209k [00:00<00:00, 7.33MB/s]\n",
"Downloading: \"https://huggingface.co/lllyasviel/misc/resolve/main/vaeapp_sd15.pt\" to /content/Fooocus/models/vae_approx/vaeapp_sd15.pth\n",
"\n",
"100% 209k/209k [00:00<00:00, 5.55MB/s]\n",
"Downloading: \"https://huggingface.co/mashb1t/misc/resolve/main/xl-to-v1_interposer-v4.0.safetensors\" to /content/Fooocus/models/vae_approx/xl-to-v1_interposer-v4.0.safetensors\n",
"\n",
"100% 5.40M/5.40M [00:00<00:00, 61.4MB/s]\n",
"Downloading: \"https://huggingface.co/lllyasviel/misc/resolve/main/fooocus_expansion.bin\" to /content/Fooocus/models/prompt_expansion/fooocus_expansion/pytorch_model.bin\n",
"\n",
"100% 335M/335M [00:01<00:00, 197MB/s]\n",
"Downloading: \"https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/juggernautXL_v8Rundiffusion.safetensors\" to /content/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors\n",
"\n",
" 12% 809M/6.62G [00:06<00:27, 225MB/s]"
]
}
],
"source": [
"!pip install pygit2==1.12.2\n",
"%cd /content\n",
"!git clone https://github.com/lllyasviel/Fooocus.git\n",
"%cd /content/Fooocus\n",
"!python entry_with_update.py --share --always-high-vram --theme dark"
]
}
]
}

0 comments on commit 5b663b2

Please sign in to comment.