aboutsummaryrefslogtreecommitdiff
path: root/db2pc.py
diff options
context:
space:
mode:
authorNavan Chauhan <gitstuff@navan.email>2022-05-21 10:59:19 -0600
committerNavan Chauhan <gitstuff@navan.email>2022-05-21 10:59:19 -0600
commit5da0be5eb1ee2af647413f481eccdfbcd2e3ccf5 (patch)
tree4b342f5de99b1785a923401b283a074d4b86cc48 /db2pc.py
parent7bd9c1e3a4ec9997fd4bbda5e595ab8df7024e1a (diff)
change numpy array to list
Diffstat (limited to 'db2pc.py')
-rw-r--r--db2pc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/db2pc.py b/db2pc.py
index 5f28167..557462e 100644
--- a/db2pc.py
+++ b/db2pc.py
@@ -34,4 +34,6 @@ for x in tqdm(range(0,len(df),batch_size)):
{
value: embeddings[idx]
})
+
+ print(to_send)
index.upsert(to_send)