Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ embedding_cache_path = 'etsy-embeddings-cpu.pkl'
|
|
57 |
print("Load pre-computed embeddings from disc")
|
58 |
with open(embedding_cache_path, "rb") as fIn:
|
59 |
cache_data = pickle.load(fIn)
|
60 |
-
corpus_sentences = cache_data['sentences']
|
61 |
corpus_embeddings = cache_data['embeddings']
|
62 |
|
63 |
# This function will search all wikipedia articles for passages that
|
|
|
57 |
print("Load pre-computed embeddings from disc")
|
58 |
with open(embedding_cache_path, "rb") as fIn:
|
59 |
cache_data = pickle.load(fIn)
|
60 |
+
#corpus_sentences = cache_data['sentences']
|
61 |
corpus_embeddings = cache_data['embeddings']
|
62 |
|
63 |
# This function will search all wikipedia articles for passages that
|