Limit requests to Gemini pro

This commit is contained in:
2026-02-10 22:08:10 +01:00
parent bd1362dff8
commit d725b9edbc
2 changed files with 25 additions and 11 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ from pdf2image import convert_from_path, pdfinfo_from_path
DPI = 200 # Good balance for readability and size
A4_HEIGHT_INCHES = 11.69
FULL_PAGE_PX = int(A4_HEIGHT_INCHES * DPI)
MAX_GROUP_HEIGHT = 1.75 * FULL_PAGE_PX
MAX_GROUP_HEIGHT = 1.5 * FULL_PAGE_PX
MAX_GROUP_COUNT = 8
SEPARATOR_HEIGHT = 20
LABEL_HEIGHT = 50