updated parsing of embeddings
This commit is contained in:
411
embeddings.json
411
embeddings.json
File diff suppressed because it is too large
Load Diff
@@ -47,7 +47,7 @@ app.post('/search/', (req, res) => {
|
|||||||
|
|
||||||
let idx = queryVPTree(vector)
|
let idx = queryVPTree(vector)
|
||||||
|
|
||||||
res.send({folder: jsonEmbeddings[idx].folder, frame: jsonEmbeddings[idx].frame, video: jsonEmbeddings[idx].video});
|
res.send({folder: jsonEmbeddings[idx].folder, image: jsonEmbeddings[idx].image, video: jsonEmbeddings[idx].video, frame: jsonEmbeddings[idx].frame});
|
||||||
});
|
});
|
||||||
|
|
||||||
function queryVPTree(value){
|
function queryVPTree(value){
|
||||||
|
|||||||
Reference in New Issue
Block a user