added url ref for source of img2img.py and initimg2img.py
This commit is contained in:
parent
bae3e88d2e
commit
e2f4d271f0
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user