Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -192,7 +192,7 @@ def _custom_convert_non_diffusers_wan_lora_to_diffusers(state_dict): 
     | 
|
| 192 | 
         
             
                return final_peft_state_dict
         
     | 
| 193 | 
         | 
| 194 | 
         | 
| 195 | 
         
            -
            def apply_manual_diff_patches(pipe_model 
     | 
| 196 | 
         
             
                """
         
     | 
| 197 | 
         
             
                Manually applies diff_b/diff patches to the model.
         
     | 
| 198 | 
         
             
                Assumes PEFT LoRA layers have already been loaded.
         
     | 
| 
         | 
|
| 192 | 
         
             
                return final_peft_state_dict
         
     | 
| 193 | 
         | 
| 194 | 
         | 
| 195 | 
         
            +
            def apply_manual_diff_patches(pipe_model, patches):
         
     | 
| 196 | 
         
             
                """
         
     | 
| 197 | 
         
             
                Manually applies diff_b/diff patches to the model.
         
     | 
| 198 | 
         
             
                Assumes PEFT LoRA layers have already been loaded.
         
     |