shigureui commited on
Commit
5c512d4
·
1 Parent(s): 556ffec
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -62,7 +62,8 @@ milvus_data = []
62
  for i, emb in enumerate(embeddings):
63
  item = metas[i]
64
  milvus_data.append({
65
- "id": item["index"],
 
66
  "vector": emb,
67
  "text": item["text"],
68
  "annotation": item["annotation"],
 
62
  for i, emb in enumerate(embeddings):
63
  item = metas[i]
64
  milvus_data.append({
65
+ "id" : i,
66
+ "index": item["index"],
67
  "vector": emb,
68
  "text": item["text"],
69
  "annotation": item["annotation"],