Skip to content

Commit

Permalink
0.8 deduplication coef
Browse files Browse the repository at this point in the history
  • Loading branch information
SUPERustam authored May 3, 2024
1 parent fad8daf commit feba9b9
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.86
) >= 0.8
AND M.status != 'duplicate'
ORDER BY M.id ASC
LIMIT 1
Expand Down

0 comments on commit feba9b9

Please sign in to comment.