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.

10 lines
226 B

from Util import ConfigUtil
from Util.ComfyUIUtil import *
# 打开配置文件
config = ConfigUtil.getConfig()
server_address = config.get('comfyui', 'server_address')
# 清理GPU缓存
clear_cache(server_address)