Disabled debug output (#436)

Co-authored-by: Henry van Megen <hvanmegen@gmail.com>
This commit is contained in:
Henry van Megen 2022-09-08 05:16:35 +02:00 committed by GitHub
parent dbc8fc7900
commit 049ea02fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,7 +324,7 @@ class T2I:
self.model.encode_first_stage(init_image) self.model.encode_first_stage(init_image)
) # move to latent space ) # move to latent space
print(f' DEBUG: seed at make_image time ={seed}') #print(f' DEBUG: seed at make_image time ={seed}')
make_image = self._img2img( make_image = self._img2img(
prompt, prompt,
steps=steps, steps=steps,
@ -378,7 +378,7 @@ class T2I:
if self.device.type == 'mps': if self.device.type == 'mps':
x_T = self._get_noise(init_latent,width,height) x_T = self._get_noise(init_latent,width,height)
# make_image will do the equivalent of get_noise itself # make_image will do the equivalent of get_noise itself
print(f' DEBUG: seed at make_image() invocation time ={seed}') #print(f' DEBUG: seed at make_image() invocation time ={seed}')
image = make_image(x_T) image = make_image(x_T)
results.append([image, seed]) results.append([image, seed])
if image_callback is not None: if image_callback is not None: