Spaces:
Runtime error
Runtime error
try pickle5 due to pickle load error
Browse files- requirements.txt +2 -1
- wit_index.py +1 -1
requirements.txt
CHANGED
@@ -8,4 +8,5 @@ sentence-transformers
|
|
8 |
datasets
|
9 |
faiss-cpu
|
10 |
# streamlit version 0.67.1 is needed due to issue with caching
|
11 |
-
streamlit==0.67.1
|
|
|
|
8 |
datasets
|
9 |
faiss-cpu
|
10 |
# streamlit version 0.67.1 is needed due to issue with caching
|
11 |
+
streamlit==0.67.1
|
12 |
+
pickle5
|
wit_index.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import pickle
|
2 |
|
3 |
# Used to create the dense document vectors.
|
4 |
import torch
|
|
|
1 |
+
import pickle5 as pickle
|
2 |
|
3 |
# Used to create the dense document vectors.
|
4 |
import torch
|