Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
apocas committed Apr 25, 2024
1 parent ba24b20 commit 5b661bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/llms/tools/instantid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5b661bd

Please sign in to comment.