Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ raw_jsons = json.loads(decrypted_content)
|
|
| 40 |
docs = []
|
| 41 |
metas = []
|
| 42 |
|
| 43 |
-
with open('embeddings.json', mode='
|
| 44 |
all_embs = json.load(embedding_file)
|
| 45 |
|
| 46 |
|
|
|
|
| 40 |
docs = []
|
| 41 |
metas = []
|
| 42 |
|
| 43 |
+
with open('embeddings.json', mode='r') as embedding_file:
|
| 44 |
all_embs = json.load(embedding_file)
|
| 45 |
|
| 46 |
|