Spaces:
Runtime error
Runtime error
Chintan Donda
commited on
Commit
·
3036eab
1
Parent(s):
c727f1c
Creating a fresh index
Browse files- src/constants.py +2 -2
src/constants.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
import src.web_crawler as web_crawler_utils
|
3 |
|
4 |
-
LOAD_FROM_EXISTING_INDEX_STORE =
|
5 |
INDEX_TYPE = 'FAISS'
|
6 |
|
7 |
# Path from where to load the data (from the local directory)
|
@@ -15,7 +15,7 @@ if not os.path.exists(OUTPUT_PATH):
|
|
15 |
|
16 |
# Index categories (There would be an index for each category. On asking the query, App will search for the relevant docs/information only from the respective index category.)
|
17 |
INDEX_CATEGORY = [
|
18 |
-
|
19 |
# 'fruits',
|
20 |
# 'pest_management',
|
21 |
# 'govt_policy',
|
|
|
1 |
import os
|
2 |
import src.web_crawler as web_crawler_utils
|
3 |
|
4 |
+
LOAD_FROM_EXISTING_INDEX_STORE = False
|
5 |
INDEX_TYPE = 'FAISS'
|
6 |
|
7 |
# Path from where to load the data (from the local directory)
|
|
|
15 |
|
16 |
# Index categories (There would be an index for each category. On asking the query, App will search for the relevant docs/information only from the respective index category.)
|
17 |
INDEX_CATEGORY = [
|
18 |
+
'crops',
|
19 |
# 'fruits',
|
20 |
# 'pest_management',
|
21 |
# 'govt_policy',
|