kelseye commited on
Commit
6e4b5af
·
verified ·
1 Parent(s): 580dfb0

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -70,7 +70,7 @@ image = template(
70
  image.save("image_PandaMeme_surprised.jpg")
71
  ```
72
 
73
- * Enable lazy loading and memory management, requires 24GB VRAM
74
 
75
  ```python
76
  from diffsynth.diffusion.template import TemplatePipeline
@@ -109,24 +109,24 @@ image = template(
109
  pipe,
110
  prompt="A meme with a sleepy expression.",
111
  seed=0, cfg_scale=4, num_inference_steps=50,
112
- template_inputs=[{}],
113
- negative_template_inputs=[{}],
114
  )
115
  image.save("image_PandaMeme_sleepy.jpg")
116
  image = template(
117
  pipe,
118
  prompt="A meme with a happy expression.",
119
  seed=0, cfg_scale=4, num_inference_steps=50,
120
- template_inputs=[{}],
121
- negative_template_inputs=[{}],
122
  )
123
  image.save("image_PandaMeme_happy.jpg")
124
  image = template(
125
  pipe,
126
  prompt="A meme with a surprised expression.",
127
  seed=0, cfg_scale=4, num_inference_steps=50,
128
- template_inputs=[{}],
129
- negative_template_inputs=[{}],
130
  )
131
  image.save("image_PandaMeme_surprised.jpg")
132
  ```
 
70
  image.save("image_PandaMeme_surprised.jpg")
71
  ```
72
 
73
+ * Enable lazy loading and memory management, requires 24G GPU memory
74
 
75
  ```python
76
  from diffsynth.diffusion.template import TemplatePipeline
 
109
  pipe,
110
  prompt="A meme with a sleepy expression.",
111
  seed=0, cfg_scale=4, num_inference_steps=50,
112
+ template_inputs = [{}],
113
+ negative_template_inputs = [{}],
114
  )
115
  image.save("image_PandaMeme_sleepy.jpg")
116
  image = template(
117
  pipe,
118
  prompt="A meme with a happy expression.",
119
  seed=0, cfg_scale=4, num_inference_steps=50,
120
+ template_inputs = [{}],
121
+ negative_template_inputs = [{}],
122
  )
123
  image.save("image_PandaMeme_happy.jpg")
124
  image = template(
125
  pipe,
126
  prompt="A meme with a surprised expression.",
127
  seed=0, cfg_scale=4, num_inference_steps=50,
128
+ template_inputs = [{}],
129
+ negative_template_inputs = [{}],
130
  )
131
  image.save("image_PandaMeme_surprised.jpg")
132
  ```