i am upgrading our app to cogvlm v2
i am upgrading our app to cogvlm v2


The image shows an individual standing in a parking lot. The person is wearing a black t-shirt and grey pants, and has a watch on the left wrist. The face is obscured by a brown rectangle, likely for privacy reasons. In the background, there are parked cars and trees, suggesting this might be near a park or a commercial area.
The image shows a man standing in a parking lot. He is wearing a black t-shirt and olive green cargo pants. He has a short haircut and a beard. He is looking directly at the camera with a neutral expression. In the background, there are several cars parked in the lot, and there is a structure that appears to be a part of a building or a canopy. The sky is overcast, suggesting it might be a cloudy day.



base_model_path = "SG161222/Realistic_Vision_V4.0_noVAE"
vae_model_path = "stabilityai/sd-vae-ft-mse"
image_encoder_path = "laion/CLIP-ViT-H-14-laion2B-s32B-b79K"
ip_ckpt = hf_hub_download(repo_id="h94/IP-Adapter-FaceID", filename="ip-adapter-faceid_sd15.bin", repo_type="model")
ip_plus_ckpt = hf_hub_download(repo_id="h94/IP-Adapter-FaceID", filename="ip-adapter-faceid-plusv2_sd15.bin", repo_type="model")base_model_path = "RunDiffusion/Juggernaut-X-v10"
vae_model_path = "stabilityai/sd-vae-ft-mse"
image_encoder_path = "laion/CLIP-ViT-H-14-laion2B-s32B-b79K"
ip_ckpt = hf_hub_download(repo_id="h94/IP-Adapter-FaceID", filename="ip-adapter-faceid_sdxl.bin", repo_type="model")
ip_plus_ckpt = hf_hub_download(repo_id="h94/IP-Adapter-FaceID", filename="ip-adapter-faceid-plusv2_sdxl.bin", repo_type="model")line 80, in generate_image
image = ip_model_plus.generate(
File "/venv/lib/python3.10/site-packages/ip_adapter/ip_adapter_faceid.py", line 384, in generate
prompt_embeds_, negative_prompt_embeds_ = self.pipe.encode_prompt(
ValueError: too many values to unpack (expected 2)