Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	Upload hy3dgen/text2image.py with huggingface_hub
Browse files- 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= | 
| 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,
         | 

