Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -72,7 +72,7 @@ class LazyLoadPipeline: 
     | 
|
| 72 | 
         
             
                @timer_func
         
     | 
| 73 | 
         
             
                def setup_pipeline(self):
         
     | 
| 74 | 
         
             
                    print("Setting up the pipeline...")
         
     | 
| 75 | 
         
            -
                    controlnet = ControlNetModel(
         
     | 
| 76 | 
         
             
                        "models/ControlNet/control_v11f1e_sd15_tile.pth", torch_dtype=torch.float16
         
     | 
| 77 | 
         
             
                    )
         
     | 
| 78 | 
         
             
                    safety_checker = None
         
     | 
| 
         | 
|
| 72 | 
         
             
                @timer_func
         
     | 
| 73 | 
         
             
                def setup_pipeline(self):
         
     | 
| 74 | 
         
             
                    print("Setting up the pipeline...")
         
     | 
| 75 | 
         
            +
                    controlnet = ControlNetModel.from_single_file(
         
     | 
| 76 | 
         
             
                        "models/ControlNet/control_v11f1e_sd15_tile.pth", torch_dtype=torch.float16
         
     | 
| 77 | 
         
             
                    )
         
     | 
| 78 | 
         
             
                    safety_checker = None
         
     |