Spaces:
Running
Running
colonelwatch
commited on
Commit
β’
3cf3964
1
Parent(s):
e7eed8f
Rename idxs.txt to openalex_ids.txt
Browse files- .gitattributes +1 -1
- app.py +1 -1
- idxs.txt β openalex_ids.txt +0 -0
.gitattributes
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
index.faiss filter=lfs diff=lfs merge=lfs -text
|
3 |
index.ivfdata filter=lfs diff=lfs merge=lfs -text
|
4 |
|
|
|
1 |
+
openalex_ids.txt filter=lfs diff=lfs merge=lfs -text
|
2 |
index.faiss filter=lfs diff=lfs merge=lfs -text
|
3 |
index.ivfdata filter=lfs diff=lfs merge=lfs -text
|
4 |
|
app.py
CHANGED
@@ -10,7 +10,7 @@ from markdown_it import MarkdownIt # used for overriding default markdown render
|
|
10 |
|
11 |
model = SentenceTransformer('all-MiniLM-L6-v2', device='cpu')
|
12 |
|
13 |
-
works_ids_path = '
|
14 |
with open(works_ids_path) as f:
|
15 |
idxs = f.read().splitlines()
|
16 |
index = faiss.read_index('index.faiss')
|
|
|
10 |
|
11 |
model = SentenceTransformer('all-MiniLM-L6-v2', device='cpu')
|
12 |
|
13 |
+
works_ids_path = 'openalex_ids.txt'
|
14 |
with open(works_ids_path) as f:
|
15 |
idxs = f.read().splitlines()
|
16 |
index = faiss.read_index('index.faiss')
|
idxs.txt β openalex_ids.txt
RENAMED
File without changes
|