File size: 346 Bytes
52ecf77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import subprocess

def launch_vace():
    command = [
        "python",
        "gradio/vace.py",
        "--ckpt_dir",
        "./Wan2.1-VACE-1.3B"
    ]
    
    try:
        subprocess.run(command, check=True)
    except subprocess.CalledProcessError as e:
        print(f"An error occurred: {e}")

if __name__ == "__main__":
    launch_vace()