shivangibithel commited on
Commit
5c6849b
1 Parent(s): 489b7f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ model = SentenceTransformer(model_name)
20
  # wget.download(index_url, index_name)
21
  # index = faiss.read_index(index_name)
22
 
23
- vectors = np.load("https://huggingface.co/spaces/shivangibithel/Text2ImageRetrieval/blob/main/sbert_text_features.npy")
24
  vector_dimension = vectors.shape[1]
25
  index = faiss.IndexFlatL2(vector_dimension)
26
  faiss.normalize_L2(vectors)
 
20
  # wget.download(index_url, index_name)
21
  # index = faiss.read_index(index_name)
22
 
23
+ vectors = np.load("shivangibithel/Text2ImageRetrieval/sbert_text_features.npy")
24
  vector_dimension = vectors.shape[1]
25
  index = faiss.IndexFlatL2(vector_dimension)
26
  faiss.normalize_L2(vectors)