From 9bd7a543d82875f5e61642a3b2b9a017e32bc5ef Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 23 Apr 2024 17:48:42 +0100 Subject: [PATCH] idk what to type, so hi --- src/app/common/lang-detection/detection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/common/lang-detection/detection.ts b/src/app/common/lang-detection/detection.ts index 876a985..8815c02 100644 --- a/src/app/common/lang-detection/detection.ts +++ b/src/app/common/lang-detection/detection.ts @@ -21,5 +21,5 @@ const modelOperations = new ModelOperations({ */ export async function detectLanguage(content: string) { const languages = await modelOperations.runModel(content); - return languages.length > 0 ? languages[0].languageId : "Text"; + return languages.length > 0 ? languages[0].languageId : "text"; }