Skip to content

Commit 0927dd1

Browse files
committed
fix
1 parent 8275c98 commit 0927dd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/viewer/src/embedding/embedding.worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function makeEmbeddingComputer(runBatch: (data: any[]) => Promise<any>): Embeddi
4242
let umap = await createUMAP(count, inputDim, outputDim, data, {
4343
metric: "cosine",
4444
});
45-
umap.run();
45+
await umap.run();
4646
let result = new Float32Array(umap.embedding);
4747
umap.destroy();
4848
return result;

0 commit comments

Comments
 (0)