diff --git a/flux-schnell.py b/flux-schnell.py index 6cfa97c..e421a04 100644 --- a/flux-schnell.py +++ b/flux-schnell.py @@ -10,7 +10,7 @@ def slugify(text): text = re.sub(r"\s+", "-", text) return text -prompt = "the town center of a small futuristic town with a fountain and geometric dodecahedral d20 buildings with a road leading out to grassy plains dotted with very tall trees" +prompt = "the town center of a small futuristic town with a fountain and dodecahedral d20 buildings similar to small geodesic domes with a road leading out to grassy plains sparsely dotted with very broad tall trees" height, width = 720, 1280 ckpt_id = "black-forest-labs/FLUX.1-schnell" diff --git a/img2img.py b/img2img.py index 7b8d427..1ccd904 100644 --- a/img2img.py +++ b/img2img.py @@ -1,3 +1,4 @@ +# from https://discuss.huggingface.co/t/generating-and-saving-multiple-images-using-img2img-pipeline/30929 from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler import torch from pathlib import Path diff --git a/initimg2img.py b/initimg2img.py index 279e060..1127b27 100644 --- a/initimg2img.py +++ b/initimg2img.py @@ -1,3 +1,4 @@ +# from https://discuss.huggingface.co/t/generating-and-saving-multiple-images-using-img2img-pipeline/30929 from diffusers import StableDiffusionImg2ImgPipeline, EulerDiscreteScheduler from pathlib import Path from PIL import Image