colonelwatch commited on
Commit
3cf3964
β€’
1 Parent(s): e7eed8f

Rename idxs.txt to openalex_ids.txt

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -1
  2. app.py +1 -1
  3. idxs.txt β†’ openalex_ids.txt +0 -0
.gitattributes CHANGED
@@ -1,4 +1,4 @@
1
- idxs.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
 
 
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 = 'idxs.txt'
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