Spaces:
Runtime error
Runtime error
| import subprocess | |
| # Clone the repository | |
| subprocess.run(["git", "clone", "https://github.com/facefusion/facefusion"], check=True) | |
| subprocess.run(["cd", "facefusion"], check=True) | |
| # Run the ui | |
| subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True) | |