Update server.py
Browse files
server.py
CHANGED
|
@@ -207,8 +207,8 @@ def comfyui():
|
|
| 207 |
subprocess.run(["python", "/tmp/code/sd/ComfyUI/main.py"], check=True)
|
| 208 |
clear_output()
|
| 209 |
|
| 210 |
-
threading.Thread(target=run_commands).start()
|
| 211 |
-
threading.Thread(target=comfyui, daemon=True).start()
|
| 212 |
os.system('rm /tmp/code/sd/stable-diffusion-webui/config.json /tmp/code/sd/stable-diffusion-webui/ui-config.json /tmp/code/*.log')
|
| 213 |
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'")
|
| 214 |
os.system("wget -O /tmp/code/sd/stable-diffusion-webui/ui-config.json 'https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/comfig/sd_ui-config.json'")
|
|
|
|
| 207 |
subprocess.run(["python", "/tmp/code/sd/ComfyUI/main.py"], check=True)
|
| 208 |
clear_output()
|
| 209 |
|
| 210 |
+
# threading.Thread(target=run_commands).start()
|
| 211 |
+
# threading.Thread(target=comfyui, daemon=True).start()
|
| 212 |
os.system('rm /tmp/code/sd/stable-diffusion-webui/config.json /tmp/code/sd/stable-diffusion-webui/ui-config.json /tmp/code/*.log')
|
| 213 |
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'")
|
| 214 |
os.system("wget -O /tmp/code/sd/stable-diffusion-webui/ui-config.json 'https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/comfig/sd_ui-config.json'")
|