Skip to content

Commit

Permalink
Decrease deduplication coef. from 0.8 to 0.6 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
SUPERustam authored May 13, 2024
1 parent 5a4ae06 commit 7ae5aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ async def find_meme_duplicate(meme_id: int, imagetext: str) -> int | None:
AND similarity(
:imagetext,
M.ocr_result ->> 'text'
) >= 0.8
) >= 0.6
AND M.status = 'ok'
ORDER BY M.id ASC
LIMIT 1
Expand Down

0 comments on commit 7ae5aea

Please sign in to comment.