lllyasviel commited on
Commit
3814543
·
1 Parent(s): c5f04f1
Files changed (1) hide show
  1. webui.py +4 -1
webui.py CHANGED
@@ -22,6 +22,7 @@ del xl_base_clipvision
22
  opCLIPTextEncode = CLIPTextEncode()
23
  opEmptyLatentImage = EmptyLatentImage()
24
  opKSamplerAdvanced = KSamplerAdvanced()
 
25
 
26
  positive_conditions = opCLIPTextEncode.encode(clip=xl_base_clip, text='a handsome man in forest')[0]
27
  negative_conditions = opCLIPTextEncode.encode(clip=xl_base_clip, text='bad, ugly')[0]
@@ -42,6 +43,8 @@ samples = opKSamplerAdvanced.sample(
42
  positive=positive_conditions,
43
  negative=negative_conditions,
44
  latent_image=initial_latent_image,
45
- )
 
 
46
 
47
  a = 0
 
22
  opCLIPTextEncode = CLIPTextEncode()
23
  opEmptyLatentImage = EmptyLatentImage()
24
  opKSamplerAdvanced = KSamplerAdvanced()
25
+ opVAEDecode = VAEDecode()
26
 
27
  positive_conditions = opCLIPTextEncode.encode(clip=xl_base_clip, text='a handsome man in forest')[0]
28
  negative_conditions = opCLIPTextEncode.encode(clip=xl_base_clip, text='bad, ugly')[0]
 
43
  positive=positive_conditions,
44
  negative=negative_conditions,
45
  latent_image=initial_latent_image,
46
+ )[0]
47
+
48
+ vaedecodeed = opVAEDecode.decode(samples=samples, vae=xl_base_vae)[0]
49
 
50
  a = 0