diff --git a/py/api.py b/py/api.py index b32e277..db670d3 100644 --- a/py/api.py +++ b/py/api.py @@ -99,6 +99,10 @@ async def getStylesList(request): nd['name_cn'] = cn_data[key] if key in cn_data else key nd["name"] = d['name'] nd['imgName'] = img_name + if "prompt" in d: + nd['prompt'] = d['prompt'] + if "negative_prompt" in d: + nd['negative_prompt'] = d['negative_prompt'] ndata.append(nd) return web.json_response(ndata) return web.Response(status=400) diff --git a/py/easyNodes.py b/py/easyNodes.py index 31a37b0..ea09c55 100644 --- a/py/easyNodes.py +++ b/py/easyNodes.py @@ -3100,8 +3100,8 @@ class ipadapter: model_url = IPADAPTER_CLIPVISION_MODELS["clip-vit-large-patch14-336"]["model_url"] clipvision_file = get_local_filepath(model_url, IPADAPTER_DIR, "clip-vit-large-patch14-336.bin") else: - model_url = IPADAPTER_CLIPVISION_MODELS["clip-vit-h-14-32b-b79k"]["model_url"] - clipvision_file = get_local_filepath(model_url, IPADAPTER_DIR, "clip-vit-h-14-32b-b79k.safetensors") + model_url = IPADAPTER_CLIPVISION_MODELS["clip-vit-h-14-laion2B-s32B-b79K"]["model_url"] + clipvision_file = get_local_filepath(model_url, IPADAPTER_DIR, "clip-vit-h-14-laion2B-s32B-b79K.safetensors") clipvision_name = os.path.basename(model_url) if clipvision_file == pipeline['clipvision']['file']: clip_vision = pipeline['clipvision']['model'] diff --git a/web/js/easy/easyDynamicWidgets.js b/web/js/easy/easyDynamicWidgets.js index c75f7d5..0cccbca 100644 --- a/web/js/easy/easyDynamicWidgets.js +++ b/web/js/easy/easyDynamicWidgets.js @@ -1243,7 +1243,7 @@ const getSetWidgets = ['rescale_after_model', 'rescale', 'num_loras', 'num_controlnet', 'mode', 'toggle', 'resolution', 'ratio', 'target_parameter', 'input_count', 'replace_count', 'downscale_mode', 'range_mode','text_combine_mode', 'input_mode', 'lora_count','ckpt_count', 'conditioning_mode', 'preset', 'use_tiled', 'use_batch', 'num_embeds', - "easing_mode", "guider", "scheduler", "inpaint_mode", 't5_type' + "easing_mode", "guider", "scheduler", "inpaint_mode", 't5_type', 'rem_mode' ] function getSetters(node) {