Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -58,7 +58,7 @@ pipeline.load_lora_weights( | |
| 58 | 
             
                        weight_name=CONTROL_LORAS["canny"]["weight_name"],
         | 
| 59 | 
             
                        adapter_name=CONTROL_LORAS["canny"]["adapter_name"]
         | 
| 60 | 
             
                    )
         | 
| 61 | 
            -
            pipeline.set_adapters([ | 
| 62 |  | 
| 63 | 
             
            @spaces.GPU()
         | 
| 64 | 
             
            def read_video(video) -> torch.Tensor:
         | 
|  | |
| 58 | 
             
                        weight_name=CONTROL_LORAS["canny"]["weight_name"],
         | 
| 59 | 
             
                        adapter_name=CONTROL_LORAS["canny"]["adapter_name"]
         | 
| 60 | 
             
                    )
         | 
| 61 | 
            +
            pipeline.set_adapters([CONTROL_LORAS["canny"]["adapter_name"]], adapter_weights=[1.0])
         | 
| 62 |  | 
| 63 | 
             
            @spaces.GPU()
         | 
| 64 | 
             
            def read_video(video) -> torch.Tensor:
         | 

