Update su.py
Browse files
su.py
CHANGED
@@ -7,6 +7,8 @@ subprocess.run(["apt", "update"])
|
|
7 |
subprocess.run(["apt", "install", "-y", "aria2"])
|
8 |
subprocess.run(["apt-get", "install", "sudo"])
|
9 |
subprocess.run(["sudo", "apt", "install", "p7zip-full", "-y"])
|
|
|
|
|
10 |
|
11 |
print("开始下载 stable-diffusion-webui.zip")
|
12 |
def aria2(url, filename, d):
|
|
|
7 |
subprocess.run(["apt", "install", "-y", "aria2"])
|
8 |
subprocess.run(["apt-get", "install", "sudo"])
|
9 |
subprocess.run(["sudo", "apt", "install", "p7zip-full", "-y"])
|
10 |
+
os.system("sudo apt-get install git-lfs")
|
11 |
+
os.system("git lfs install")
|
12 |
|
13 |
print("开始下载 stable-diffusion-webui.zip")
|
14 |
def aria2(url, filename, d):
|