Update server.py
Browse files
server.py
CHANGED
|
@@ -211,9 +211,9 @@ def server():
|
|
| 211 |
os.system('mr -r /tmp/code/main.py')
|
| 212 |
os.system("wget -O /tmp/code/main.py 'https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/main.py'")
|
| 213 |
subprocess.run(["python", "/tmp/code/main.py"], check=True)
|
| 214 |
-
threading.Thread(target=run_commands).start()
|
| 215 |
-
threading.Thread(target=server, daemon=True).start()
|
| 216 |
-
threading.Thread(target=comfyui, daemon=True).start()
|
| 217 |
os.system('rm /tmp/code/sd/stable-diffusion-webui/config.json /tmp/code/*.log')
|
| 218 |
os.system("wget -O /tmp/code/sd/stable-diffusion-webui/config.json 'https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/comfig/sd_config.json'")
|
| 219 |
# python /tmp/code/sd/stable-diffusion-webui/launch.py --api --api-auth QiLan:1415361185 --no-hashing --enable-insecure-extension-access --no-gradio-queue --no-half-vae --port 7860 --xformers
|
|
|
|
| 211 |
os.system('mr -r /tmp/code/main.py')
|
| 212 |
os.system("wget -O /tmp/code/main.py 'https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/main.py'")
|
| 213 |
subprocess.run(["python", "/tmp/code/main.py"], check=True)
|
| 214 |
+
# threading.Thread(target=run_commands).start()
|
| 215 |
+
# threading.Thread(target=server, daemon=True).start()
|
| 216 |
+
# threading.Thread(target=comfyui, daemon=True).start()
|
| 217 |
os.system('rm /tmp/code/sd/stable-diffusion-webui/config.json /tmp/code/*.log')
|
| 218 |
os.system("wget -O /tmp/code/sd/stable-diffusion-webui/config.json 'https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/comfig/sd_config.json'")
|
| 219 |
# python /tmp/code/sd/stable-diffusion-webui/launch.py --api --api-auth QiLan:1415361185 --no-hashing --enable-insecure-extension-access --no-gradio-queue --no-half-vae --port 7860 --xformers
|