from Util import ConfigUtil from Util.CommonUtil import * # 配置文件 config = ConfigUtil.getConfig() # webui 服务器地址 webui_address = config['webui']['webui_address'] txt_2_img_blank(webui_address)