Spaces:
Sleeping
Sleeping
fix
Browse files- app.py +3 -2
- embeddings.json +2 -2
app.py
CHANGED
@@ -37,8 +37,7 @@ aeskey = os.getenv('aeskey')
|
|
37 |
decrypted_content = decrypt_file('encrypted.txt', aeskey)
|
38 |
raw_jsons = json.loads(decrypted_content)
|
39 |
|
40 |
-
|
41 |
-
metas = []
|
42 |
|
43 |
with open('embeddings.json', mode='r') as embedding_file:
|
44 |
all_embs = json.load(embedding_file)
|
@@ -46,6 +45,8 @@ with open('embeddings.json', mode='r') as embedding_file:
|
|
46 |
|
47 |
for vhjx_index, vhjx_item in enumerate(raw_jsons):
|
48 |
chapter = vhjx_item[0]
|
|
|
|
|
49 |
for jvvi_item in vhjx_item[1:]:
|
50 |
content = jvvi_item["εζ"]
|
51 |
docs.append(content)
|
|
|
37 |
decrypted_content = decrypt_file('encrypted.txt', aeskey)
|
38 |
raw_jsons = json.loads(decrypted_content)
|
39 |
|
40 |
+
|
|
|
41 |
|
42 |
with open('embeddings.json', mode='r') as embedding_file:
|
43 |
all_embs = json.load(embedding_file)
|
|
|
45 |
|
46 |
for vhjx_index, vhjx_item in enumerate(raw_jsons):
|
47 |
chapter = vhjx_item[0]
|
48 |
+
docs = []
|
49 |
+
metas = []
|
50 |
for jvvi_item in vhjx_item[1:]:
|
51 |
content = jvvi_item["εζ"]
|
52 |
docs.append(content)
|
embeddings.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:caa8a181528c6921eadc4ee98d21126bbe4a8c081426ae40ef039e31733dd87b
|
3 |
+
size 10926548
|