You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
466 B
20 lines
466 B
1 year ago
|
|
||
|
https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/14135
|
||
|
add to args in webui-user.bat --api-server-stop to activate endpoints:
|
||
|
```
|
||
|
/sdapi/v1/server-kill
|
||
|
/sdapi/v1/server-restart
|
||
|
/sdapi/v1/server-stop
|
||
|
```
|
||
|
|
||
|
# 添加启动参数
|
||
|
def main():
|
||
|
import sys
|
||
|
# --api-server-stop
|
||
|
#sys.argv.append("--no-half")
|
||
|
sys.argv.append("--api-server-stop")
|
||
|
|
||
|
if args.dump_sysinfo:
|
||
|
filename = launch_utils.dump_sysinfo()
|
||
|
|