parent
59aa2aedeb
commit
8543bb5804
|
|
@ -1 +1 @@
|
|||
version = '1.0.21'
|
||||
version = '1.0.22'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
20
readme.md
20
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 ...
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
### 1.0.20
|
||||
|
||||
* Speed-up text encoder
|
||||
* Support linux.
|
||||
|
||||
### 1.0.20
|
||||
|
||||
* Speed-up text encoder.
|
||||
|
||||
### 1.0.20
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue