mirror of
				https://github.com/Wan-Video/Wan2.1.git
				synced 2025-11-04 06:15:17 +00:00 
			
		
		
		
	Make seed in a batch further from each other
This commit is contained in:
		
							parent
							
								
									c9aa2c3230
								
							
						
					
					
						commit
						3eaec9a391
					
				
							
								
								
									
										4
									
								
								wgp.py
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								wgp.py
									
									
									
									
									
								
							@ -3289,7 +3289,7 @@ def generate_video(
 | 
			
		||||
 | 
			
		||||
                send_cmd("output")
 | 
			
		||||
 | 
			
		||||
        seed += 1
 | 
			
		||||
        seed = random.randint(0, 999999999)
 | 
			
		||||
    clear_status(state)
 | 
			
		||||
    if temp_filename!= None and  os.path.isfile(temp_filename):
 | 
			
		||||
        os.remove(temp_filename)
 | 
			
		||||
@ -5936,4 +5936,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