diff --git a/fooocus_version.py b/fooocus_version.py index 7ecf5579..4069ac12 100644 --- a/fooocus_version.py +++ b/fooocus_version.py @@ -1 +1 @@ -version = '1.0.21' +version = '1.0.22' diff --git a/modules/async_worker.py b/modules/async_worker.py index 342ba8f6..17cb14d8 100644 --- a/modules/async_worker.py +++ b/modules/async_worker.py @@ -8,6 +8,7 @@ outputs = [] def worker(): global buffer, outputs + import os import time import random import modules.default_pipeline as pipeline @@ -59,6 +60,7 @@ def worker(): for x in imgs: local_temp_filename = generate_temp_filename(folder=modules.path.temp_outputs_path, extension='png') + os.makedirs(os.path.dirname(local_temp_filename), exist_ok=True) Image.fromarray(x).save(local_temp_filename) seed += 1 diff --git a/readme.md b/readme.md index 16080833..86054d08 100644 --- a/readme.md +++ b/readme.md @@ -34,7 +34,25 @@ In the first time you launch the software, it will automatically download models If you already have these files, you can copy them to the above locations to speed up installation. -### Linux/Mac/Windows(AMD GPUs) +### Linux + +The command lines are + + git clone https://github.com/lllyasviel/Fooocus.git + cd Fooocus + conda env create -f environment.yaml + conda activate fooocus + pip install -r requirements_versions.txt + +Then download the models: download [sd_xl_base_1.0_0.9vae.safetensors from here](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0_0.9vae.safetensors) as the file "Fooocus\models\checkpoints\sd_xl_base_1.0_0.9vae.safetensors", and download [sd_xl_refiner_1.0_0.9vae.safetensors from here](https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0_0.9vae.safetensors) as the file "Fooocus\models\checkpoints\sd_xl_refiner_1.0_0.9vae.safetensors". **Or let Fooocus automatically download the models** using the launcher: + + python launch.py + +Or if you want to open a remote port, use + + python launch.py --listen + +### Mac/Windows(AMD GPUs) Coming soon ... diff --git a/update_log.md b/update_log.md index 76f3fd02..cb874b92 100644 --- a/update_log.md +++ b/update_log.md @@ -1,6 +1,10 @@ ### 1.0.20 -* Speed-up text encoder +* Support linux. + +### 1.0.20 + +* Speed-up text encoder. ### 1.0.20