From 5da0be5eb1ee2af647413f481eccdfbcd2e3ccf5 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sat, 21 May 2022 10:59:19 -0600 Subject: change numpy array to list --- db2pc.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'db2pc.py') 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) -- cgit v1.2.3