Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	
		xinjie.wang
		
	commited on
		
		
					Commit 
							
							·
						
						50772e1
	
1
								Parent(s):
							
							3feae4a
								
update
Browse files
    	
        common.py
    CHANGED
    
    | 
         @@ -695,7 +695,7 @@ def text2image_fn( 
     | 
|
| 695 | 
         
             
                if ip_image is not None:
         
     | 
| 696 | 
         
             
                    pipeline.set_ip_adapter_scale([ip_adapt_scale])
         
     | 
| 697 | 
         | 
| 698 | 
         
            -
                pipeline.cuda 
     | 
| 699 | 
         
             
                images = text2img_gen(
         
     | 
| 700 | 
         
             
                    prompt=prompt,
         
     | 
| 701 | 
         
             
                    n_sample=n_sample,
         
     | 
| 
         | 
|
| 695 | 
         
             
                if ip_image is not None:
         
     | 
| 696 | 
         
             
                    pipeline.set_ip_adapter_scale([ip_adapt_scale])
         
     | 
| 697 | 
         | 
| 698 | 
         
            +
                pipeline = pipeline.to("cuda")
         
     | 
| 699 | 
         
             
                images = text2img_gen(
         
     | 
| 700 | 
         
             
                    prompt=prompt,
         
     | 
| 701 | 
         
             
                    n_sample=n_sample,
         
     |