π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix computeTextEmbedding
Abhinavd7170f61cee7
diff --git a/src/services/clipService.ts b/src/services/clipService.tsindex 4fa3c04116..a6f69055bb 100644--- a/src/services/clipService.ts+++ b/src/services/clipService.ts@@ -120,7 +120,7 @@ export async function computeTextEmbedding(text: string): Promise<Float32Array> {try {- const clipModelPath = getClipModelPath();+ const clipModelPath = await getClipModelPath();const ggmlclipPath = getGGMLClipPath();const cmd = TEXT_EMBEDDING_EXTRACT_CMD.map((cmdPart) => {if (cmdPart === GGMLCLIP_PATH_PLACEHOLDER) {