File size: 365 Bytes
efbeff8
160c6d1
abb6206
 
 
 
 
 
 
160c6d1
abb6206
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import subprocess

commands = [
    "pip install pygit2==1.12.2",
    "cd /content",
    "git clone https://github.com/lllyasviel/Fooocus.git",
    "cd /content/Fooocus",
    "python entry_with_update.py --share",
]

for cmd in commands:
    print(f"Executing command '{cmd}'...")
    subprocess.run(cmd, shell=True)
    print(f"Command '{cmd}' has been executed.")