make initimg appear in web log

This commit is contained in:
Lincoln Stein
2022-09-03 14:10:31 -04:00
parent b90a215000
commit d0d95d3a2a
2 changed files with 4 additions and 2 deletions

View File

@ -87,7 +87,7 @@ class DreamServer(BaseHTTPRequestHandler):
# across images generated by each call to prompt2img(), so we define it in
# the outer scope of image_done()
config = post_data.copy() # Shallow copy
config['initimg'] = ''
config['initimg'] = config.pop('initimg_name','')
images_generated = 0 # helps keep track of when upscaling is started
images_upscaled = 0 # helps keep track of when upscaling is completed