HenryStephen
commited on
Commit
•
c4d8fc9
1
Parent(s):
eb8f031
update data source
Browse files
app.py
CHANGED
@@ -28,14 +28,14 @@ device = (
|
|
28 |
)
|
29 |
|
30 |
# 1. Product environment
|
31 |
-
INDEX_PATH = Path(__file__).parent.joinpath("data/index.bin")
|
32 |
-
CLUSTER_PATH = Path(__file__).parent.joinpath("data/repo_clusters.json")
|
33 |
SCIBERT_MODEL_PATH = "allenai/scibert_scivocab_uncased"
|
34 |
|
35 |
|
36 |
# 2. Developing environment
|
37 |
-
|
38 |
-
|
39 |
# SCIBERT_MODEL_PATH = Path(__file__).parent.joinpath("data/scibert_scivocab_uncased") # Download locally
|
40 |
|
41 |
|
|
|
28 |
)
|
29 |
|
30 |
# 1. Product environment
|
31 |
+
# INDEX_PATH = Path(__file__).parent.joinpath("data/index.bin")
|
32 |
+
# CLUSTER_PATH = Path(__file__).parent.joinpath("data/repo_clusters.json")
|
33 |
SCIBERT_MODEL_PATH = "allenai/scibert_scivocab_uncased"
|
34 |
|
35 |
|
36 |
# 2. Developing environment
|
37 |
+
INDEX_PATH = Path(__file__).parent.joinpath("data/index_test.bin")
|
38 |
+
CLUSTER_PATH = Path(__file__).parent.joinpath("data/repo_clusters_test.json")
|
39 |
# SCIBERT_MODEL_PATH = Path(__file__).parent.joinpath("data/scibert_scivocab_uncased") # Download locally
|
40 |
|
41 |
|