Huiwenshi commited on
Commit
62a8c31
·
verified ·
1 Parent(s): 32c73ff

Upload hy3dgen/text2image.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. hy3dgen/text2image.py +1 -1
hy3dgen/text2image.py CHANGED
@@ -80,7 +80,7 @@ class HunyuanDiTPipeline:
80
  generator = torch.Generator(device=self.pipe.device)
81
  generator = generator.manual_seed(int(seed))
82
  out_img = self.pipe(
83
- prompt=prompt[:60]+self.pos_txt,
84
  negative_prompt=self.neg_txt,
85
  num_inference_steps=25,
86
  pag_scale=1.3,
 
80
  generator = torch.Generator(device=self.pipe.device)
81
  generator = generator.manual_seed(int(seed))
82
  out_img = self.pipe(
83
+ prompt=self.pos_txt+prompt,
84
  negative_prompt=self.neg_txt,
85
  num_inference_steps=25,
86
  pag_scale=1.3,