Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -38,7 +38,7 @@ pipe = StableDiffusionControlNetImg2ImgPipeline.from_pretrained( 
     | 
|
| 38 | 
         
             
                safety_checker=None,
         
     | 
| 39 | 
         
             
                torch_dtype=torch.float16,
         
     | 
| 40 | 
         
             
            ).to("cuda")
         
     | 
| 41 | 
         
            -
            pipe.enable_xformers_memory_efficient_attention()
         
     | 
| 42 | 
         | 
| 43 | 
         | 
| 44 | 
         
             
            def resize_for_condition_image(input_image: Image.Image, resolution: int):
         
     | 
| 
         | 
|
| 38 | 
         
             
                safety_checker=None,
         
     | 
| 39 | 
         
             
                torch_dtype=torch.float16,
         
     | 
| 40 | 
         
             
            ).to("cuda")
         
     | 
| 41 | 
         
            +
            # pipe.enable_xformers_memory_efficient_attention()
         
     | 
| 42 | 
         | 
| 43 | 
         | 
| 44 | 
         
             
            def resize_for_condition_image(input_image: Image.Image, resolution: int):
         
     |