Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModel, AutoFeatureExtractor
|
|
5 |
import wikipedia
|
6 |
|
7 |
# Only runs once when the script is first run.
|
8 |
-
with open("
|
9 |
index = pickle.load(handle)
|
10 |
|
11 |
# Load model for computing embeddings.
|
|
|
5 |
import wikipedia
|
6 |
|
7 |
# Only runs once when the script is first run.
|
8 |
+
with open("slugs_1024_new.pickle", "rb") as handle:
|
9 |
index = pickle.load(handle)
|
10 |
|
11 |
# Load model for computing embeddings.
|