linlinlinlinsdada commited on
Commit
08f7edc
·
verified ·
1 Parent(s): fe7c722

Model card

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -53,7 +53,9 @@ pipe = JeverationPipeline("weights/jeveration.pt", decoder="weights/decoder512.p
53
  source_decoder="weights/source_decoder512.pt")
54
 
55
  # Text-to-image: a list of prompts -> uint8 images [B, 512, 512, 3]
56
- images = pipe.text_to_image(["A tiny dragon sleeping inside a porcelain teacup, cozy warm light, fantasy art."], pipe.generator(0))
 
 
57
  Image.fromarray(images[0]).save("dragon.png")
58
 
59
  # Structure to image: an edge map ("hed") or a depth map ("depth"), with a caption of the wanted image
 
53
  source_decoder="weights/source_decoder512.pt")
54
 
55
  # Text-to-image: a list of prompts -> uint8 images [B, 512, 512, 3]
56
+ prompt = ("A baby dragon with glittering teal scales curled up on a pile of gold coins, "
57
+ "warm candlelight, fantasy illustration.")
58
+ images = pipe.text_to_image([prompt], pipe.generator(0))
59
  Image.fromarray(images[0]).save("dragon.png")
60
 
61
  # Structure to image: an edge map ("hed") or a depth map ("depth"), with a caption of the wanted image