diff --git a/packages/atproto/classifiers/tfjs/index.ts b/packages/atproto/classifiers/tfjs/index.ts index 3daa910..e5dd9ba 100644 --- a/packages/atproto/classifiers/tfjs/index.ts +++ b/packages/atproto/classifiers/tfjs/index.ts @@ -51,7 +51,7 @@ export const createBayesClassiferFn: FnType = async (ctx) => { wordIndex: m.wordIndex, }); return { - score: cl?.score ?? null, + score: cl?.score !== undefined ? cl.score : null, tag: "tech", }; };