fix leaderboard looks, add OCR, make the captcha only show if you add a username and password

This commit is contained in:
csd4ni3l
2025-08-12 15:17:43 +02:00
parent 453250b862
commit 623bd155cb
10 changed files with 242 additions and 225 deletions

View File

@@ -9,5 +9,7 @@ UPLOAD_DIR = "uploads"
MINIMUM_COSINE_SIMILARITY = 0.7
WORD_TO_COMPARE = "hand touching grass"
DATABASE_FILE = "data.db"
MINIMUM_OCR_SIMILARITY = 0.7
OCR_CHALLENGE_LENGTH = 2
UPLOAD_DIR = os.path.join(os.getcwd(), UPLOAD_DIR)