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.

11 lines
290 B

1 year ago
from Util import ConfigUtil
1 year ago
from Util.SDUtil import *
1 year ago
1 year ago
# 打开配置文件
config = ConfigUtil.getConfig()
1 year ago
comfyui_address = config.get('comfyui', 'server_address')
webui_address = config.get('webui', 'webui_address')
1 year ago
1 year ago
# 清理一下sd
1 year ago
release_sd(webui_address, comfyui_address)