Merge branch 'development' into development

This commit is contained in:
Peter Baylies 2022-09-07 21:30:39 -04:00 committed by GitHub
commit bd4fc64156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ from ldm.models.diffusion.ddim import DDIMSampler
class Inpaint(Img2Img):
def __init__(self,model):
self.init_latent = None
super().__init__(model)
@torch.no_grad()

View File

@ -131,6 +131,7 @@ class DreamServer(BaseHTTPRequestHandler):
name = f'{prefix}.{seed}.png'
path = pngwriter.save_image_and_prompt_to_png(image, f'{prompt} -S{seed}', name)
config['seed'] = seed
# Append post_data to log, but only once!
if not upscaled:
with open(os.path.join(self.outdir, "dream_web_log.txt"), "a") as log: