Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
92365df
1
Parent(s):
5578641
Pull in index from new repository, due to LFS size limits on HF Spaces
Browse files- .gitmodules +3 -0
- app.py +1 -1
- faiss +1 -0
.gitmodules
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
[submodule "faiss"]
|
2 |
+
path = faiss
|
3 |
+
url = [email protected]:colonelwatch/abstracts-index-faiss
|
app.py
CHANGED
@@ -242,7 +242,7 @@ def main():
|
|
242 |
prompt_name = get_env_var("PROMPT_NAME")
|
243 |
trust_remote_code = get_env_var("TRUST_REMOTE_CODE", bool, default=False)
|
244 |
fp16 = get_env_var("FP16", bool, default=False)
|
245 |
-
dir = get_env_var("DIR", Path, default=Path("index"))
|
246 |
search_time_s = get_env_var("SEARCH_TIME_S", float, default=1)
|
247 |
k = get_env_var("K", int, default=20) # TODO: can't go higher than 20 yet
|
248 |
mailto = get_env_var("MAILTO", str, None)
|
|
|
242 |
prompt_name = get_env_var("PROMPT_NAME")
|
243 |
trust_remote_code = get_env_var("TRUST_REMOTE_CODE", bool, default=False)
|
244 |
fp16 = get_env_var("FP16", bool, default=False)
|
245 |
+
dir = get_env_var("DIR", Path, default=Path("faiss/index"))
|
246 |
search_time_s = get_env_var("SEARCH_TIME_S", float, default=1)
|
247 |
k = get_env_var("K", int, default=20) # TODO: can't go higher than 20 yet
|
248 |
mailto = get_env_var("MAILTO", str, None)
|
faiss
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 652454ca78e307c0d9262da278619570f4ad120d
|