Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import numpy as np
|
|
9 |
#with open("slugs_1024_new.pickle", "rb") as handle:
|
10 |
# index = pickle.load(handle)
|
11 |
|
12 |
-
embs= np.load('slugs_embeddings_1024k.npy', '
|
13 |
index = pynndescent.NNDescent(embs, metric="cosine")
|
14 |
index.prepare()
|
15 |
|
|
|
9 |
#with open("slugs_1024_new.pickle", "rb") as handle:
|
10 |
# index = pickle.load(handle)
|
11 |
|
12 |
+
embs= np.load('slugs_embeddings_1024k.npy', 'r')
|
13 |
index = pynndescent.NNDescent(embs, metric="cosine")
|
14 |
index.prepare()
|
15 |
|