sasha HF staff commited on
Commit
8f9fbdb
1 Parent(s): a6248e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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', 'rb')
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