diff --git a/app/llms/tools/instantid.py b/app/llms/tools/instantid.py index 578e25b..425d5af 100644 --- a/app/llms/tools/instantid.py +++ b/app/llms/tools/instantid.py @@ -50,7 +50,7 @@ def _run(self, query: str, run_manager: Optional[CallbackManagerForToolRun] = No face_image = Image.open(io.BytesIO(img_data)) height = face_image.size[1] if height > 1280: - raise Exception("Send a smaller image. The maximum height is 1024 pixels.") + raise Exception("Send a smaller image. The maximum height is 1280 pixels.") sharedmem["negative_prompt"] = run_manager.tags[0].negative