English
art
Stable Diffusion
bigmoyan commited on
Commit
0007b0f
1 Parent(s): 4d62d79

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -3
README.md CHANGED
@@ -26,7 +26,6 @@ lyraSD is a part of TME lyralab Fast Model Plan.
26
  ### test on A100, img size: 512x512,superresolution=False, mode=text2img
27
  |mode|version|speed|
28
  |:-:|:-:|:-:|
29
- |text2img|TensorRT official|0.41s/img|
30
  |text2img|LyraSD|0.36s/img|
31
 
32
 
@@ -43,14 +42,27 @@ lyraSD is a part of TME lyralab Fast Model Plan.
43
  from lyraSD import LyraSD
44
 
45
  t2imodel = LyraSD("text2img", "./sd1.5-engine")
46
- t2imodel.inference(prompt="a red ballon flying in the sky")
47
 
48
 
49
  from PIL import Image
50
  i2imodel = LyraSD("img2img", "./sd1.5-engine")
51
  demo_img = Image.open("output/text2img_demo.jpg")
52
- i2imodel.inference(prompt="comic style", image=demo_img)
 
53
  ```
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
  ## environment
56
 
 
26
  ### test on A100, img size: 512x512,superresolution=False, mode=text2img
27
  |mode|version|speed|
28
  |:-:|:-:|:-:|
 
29
  |text2img|LyraSD|0.36s/img|
30
 
31
 
 
42
  from lyraSD import LyraSD
43
 
44
  t2imodel = LyraSD("text2img", "./sd1.5-engine")
45
+ t2imodel.inference(prompt="A fantasy landscape, trending on artstation", use_super=False)
46
 
47
 
48
  from PIL import Image
49
  i2imodel = LyraSD("img2img", "./sd1.5-engine")
50
  demo_img = Image.open("output/text2img_demo.jpg")
51
+ i2imodel.inference(prompt="A fantasy landscape, trending on artstation", image=demo_img)
52
+
53
  ```
54
+ ## Demo output
55
+
56
+ ### text2img
57
+ ![text2img_demo](./output/sd-text2img-0.jpg)
58
+
59
+ ### img2img
60
+
61
+ ![text2img_demo](./output/text2img_demo.jpg)
62
+
63
+ ![text2img_demo](./output/sd-img2img-0.jpg)
64
+
65
+
66
 
67
  ## environment
68