Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix issue

Abhinav053073e7f938
diff --git a/src/services/clipService.ts b/src/services/clipService.ts
index 66d09459c3..ed0059a305 100644
--- a/src/services/clipService.ts
+++ b/src/services/clipService.ts
@@ -85,7 +85,7 @@ export async function computeImageEmbedding(
inputFilePath: string
): Promise<Float32Array> {
try {
- const clipModelPath = getClipModelPath();
+ const clipModelPath = await getClipModelPath();
const ggmlclipPath = getGGMLClipPath();
const cmd = IMAGE_EMBEDDING_EXTRACT_CMD.map((cmdPart) => {
if (cmdPart === GGMLCLIP_PATH_PLACEHOLDER) {