This commit is contained in:
lvmin
2023-08-10 08:52:01 -07:00
parent 8a41460015
commit 265c30a4ce
2 changed files with 7 additions and 3 deletions
+3
View File
@@ -42,4 +42,7 @@ def process(positive_prompt, negative_prompt, width=1024, height=1024, batch_siz
decoded_latent = core.decode_vae(vae=xl_refiner.vae, latent_image=sampled_latent)
images = core.image_to_numpy(decoded_latent)
core.close_all_preview()
return images