mirror of
				https://github.com/Wan-Video/Wan2.1.git
				synced 2025-11-04 06:15:17 +00:00 
			
		
		
		
	fixed i2v 720p no longer recognized properly
This commit is contained in:
		
							parent
							
								
									5a63326bb9
								
							
						
					
					
						commit
						85e488f76c
					
				
							
								
								
									
										4
									
								
								wgp.py
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								wgp.py
									
									
									
									
									
								
							@ -1624,7 +1624,7 @@ def get_model_family(model_type):
 | 
			
		||||
 | 
			
		||||
def test_class_i2v(model_type):
 | 
			
		||||
    model_type = get_base_model_type(model_type)
 | 
			
		||||
    return model_type in ["i2v", "fun_inp_1.3B", "fun_inp", "flf2v_720p",  "fantasy", "hunyuan_i2v" ] 
 | 
			
		||||
    return model_type in ["i2v", "i2v_720p", "fun_inp_1.3B", "fun_inp", "flf2v_720p",  "fantasy", "hunyuan_i2v" ] 
 | 
			
		||||
 | 
			
		||||
def get_model_name(model_type, description_container = [""]):
 | 
			
		||||
    finetune_def = get_model_finetune_def(model_type)
 | 
			
		||||
@ -6252,4 +6252,4 @@ if __name__ == "__main__":
 | 
			
		||||
        else:
 | 
			
		||||
            url = "http://" + server_name 
 | 
			
		||||
        webbrowser.open(url + ":" + str(server_port), new = 0, autoraise = True)
 | 
			
		||||
    demo.launch(server_name=server_name, server_port=server_port, share=args.share, allowed_paths=[save_path])
 | 
			
		||||
    demo.launch(server_name=server_name, server_port=server_port, share=args.share, allowed_paths=[save_path])
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user