File size: 304 Bytes
962014c
ebc81de
60e78ea
298cb83
 
60e78ea
ebc81de
 
298cb83
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import subprocess
import os

# Clone the repository
subprocess.run(["git", "clone", "https://github.com/facefusion/facefusion"], check=True)

# chande directory to face fusion to run ui
os.chdir("facefusion")

# Run the ui
subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)