Update server.py
Browse files
server.py
CHANGED
|
@@ -23,9 +23,9 @@ NPS_server = '119.8.118.149:7001'
|
|
| 23 |
nezha_agent_key = 'L3USpU8bbpHRV90uuC'
|
| 24 |
nezha_agent_url = 'nzzz.nwb.lol:5555'
|
| 25 |
nz_commands = [
|
| 26 |
-
"curl -L https://raw.githubusercontent.com/nezhahq/scripts/main/install.sh -o nezha.sh",
|
| 27 |
"chmod +x nezha.sh",
|
| 28 |
-
"./nezha.sh install_agent nnzmb.qilan.cloudns.ch 16667 fTDSMw9zPZokP8DOiH"
|
| 29 |
]
|
| 30 |
|
| 31 |
os.system("rm -r /tmp/code/sd/stable-diffusion-webui/modules/api/api.py /tmp/code/sd/stable-diffusion-webui/modules/img2img.py /tmp/code/sd/stable-diffusion-webui/modules/txt2img.py")
|
|
|
|
| 23 |
nezha_agent_key = 'L3USpU8bbpHRV90uuC'
|
| 24 |
nezha_agent_url = 'nzzz.nwb.lol:5555'
|
| 25 |
nz_commands = [
|
| 26 |
+
"curl -L https://slink.ltd/https://raw.githubusercontent.com/nezhahq/scripts/main/install.sh -o nezha.sh",
|
| 27 |
"chmod +x nezha.sh",
|
| 28 |
+
"y | ./nezha.sh install_agent nnzmb.qilan.cloudns.ch 16667 fTDSMw9zPZokP8DOiH"
|
| 29 |
]
|
| 30 |
|
| 31 |
os.system("rm -r /tmp/code/sd/stable-diffusion-webui/modules/api/api.py /tmp/code/sd/stable-diffusion-webui/modules/img2img.py /tmp/code/sd/stable-diffusion-webui/modules/txt2img.py")
|