diff --git a/colab_fix.txt b/colab_fix.txt new file mode 100644 index 00000000..7b2445ce --- /dev/null +++ b/colab_fix.txt @@ -0,0 +1 @@ +{"default_refiner": ""} \ No newline at end of file diff --git a/fooocus_colab.ipynb b/fooocus_colab.ipynb new file mode 100644 index 00000000..c3497c68 --- /dev/null +++ b/fooocus_colab.ipynb @@ -0,0 +1,36 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "VjYy0F2gZIPR" + }, + "outputs": [], + "source": [ + "!pip install pygit2==1.12.2\n", + "%cd /content\n", + "!git clone https://github.com/lllyasviel/Fooocus\n", + "%cd /content/Fooocus\n", + "!cp colab_fix.txt user_path_config.txt\n", + "!python entry_with_update.py --share\n" + ] + } + ], + "metadata": { + "accelerator": "GPU", + "colab": { + "gpuType": "T4", + "provenance": [] + }, + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} diff --git a/readme.md b/readme.md index b2d03529..ad5456bf 100644 --- a/readme.md +++ b/readme.md @@ -94,13 +94,13 @@ Please open an issue if you use similar devices but still cannot achieve accepta ### Colab -(Last tested - 2023 Sep 13) +(Last tested - 2023 Oct 10) | Colab | Info | --- | --- | -[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/lllyasviel/Fooocus/blob/colab/colab.ipynb) | Fooocus Colab Version +[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/lllyasviel/Fooocus/blob/main/fooocus_colab.ipynb) | Fooocus Official -Note that this link is optimized for Google Colab - the codes may be different from offline Fooocus for better Colab experience. +Note that this Colab will disable refiner by default because Colab free's resource is relatively limited. Thanks to [camenduru](https://github.com/camenduru)!