Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ cross_encoder = CrossEncoder(option2, device='cpu')
|
|
| 61 |
passages = []
|
| 62 |
|
| 63 |
# load pre-train embeedings files
|
| 64 |
-
embedding_cache_path = 'etsy-embeddings-
|
| 65 |
print("Load pre-computed embeddings from disc")
|
| 66 |
with open(embedding_cache_path, "rb") as fIn:
|
| 67 |
cache_data = pickle.load(fIn)
|
|
|
|
| 61 |
passages = []
|
| 62 |
|
| 63 |
# load pre-train embeedings files
|
| 64 |
+
embedding_cache_path = 'etsy-embeddings-gpu-total.pkl'
|
| 65 |
print("Load pre-computed embeddings from disc")
|
| 66 |
with open(embedding_cache_path, "rb") as fIn:
|
| 67 |
cache_data = pickle.load(fIn)
|