Update app3.py
Browse files
app3.py
CHANGED
@@ -16,8 +16,9 @@ import threading
|
|
16 |
import time
|
17 |
import socket
|
18 |
from concurrent.futures import ProcessPoolExecutor
|
|
|
19 |
# import wandb
|
20 |
-
|
21 |
os.chdir(f"/home/xlab-app-center")
|
22 |
os.system(f"git clone https://openi.pcl.ac.cn/2575044704/sd-v1.7.0 /home/xlab-app-center/stable-diffusion-webui")
|
23 |
os.system(f"cp /home/xlab-app-center/styles.csv /home/xlab-app-center/stable-diffusion-webui/styles.csv")
|
|
|
16 |
import time
|
17 |
import socket
|
18 |
from concurrent.futures import ProcessPoolExecutor
|
19 |
+
os.system("pip install fastapi==0.90.1")
|
20 |
# import wandb
|
21 |
+
os.system("pip install nvidia-ml-py3")
|
22 |
os.chdir(f"/home/xlab-app-center")
|
23 |
os.system(f"git clone https://openi.pcl.ac.cn/2575044704/sd-v1.7.0 /home/xlab-app-center/stable-diffusion-webui")
|
24 |
os.system(f"cp /home/xlab-app-center/styles.csv /home/xlab-app-center/stable-diffusion-webui/styles.csv")
|