mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
fix: increase confidence to 0.5
This commit is contained in:
parent
f5672f0047
commit
1bea96937c
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ async function parseMetadata(event: NostrEvent, signal: AbortSignal): Promise<vo
|
|||
async function setLanguage(event: NostrEvent): Promise<void> {
|
||||
if (event.kind !== 1) return;
|
||||
|
||||
const language = detectLanguage(event.content, 0.7);
|
||||
const language = detectLanguage(event.content, 0.5);
|
||||
if (!language) return;
|
||||
|
||||
const kysely = await Storages.kysely();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue