Spaces:
Running
Running
Commit
·
9d65a12
1
Parent(s):
b944de3
changed to legacy
Browse files- src/config.py +2 -2
src/config.py
CHANGED
|
@@ -19,13 +19,13 @@ DEFAULT_DISPLAY_COUNT = 60
|
|
| 19 |
LOAD_MORE_COUNT = 120
|
| 20 |
|
| 21 |
# Zilliz Configuration
|
| 22 |
-
ZILLIZ_COLLECTION_NAME = "
|
| 23 |
# Image search always uses legacy collection which has pre-existing embeddings
|
| 24 |
ZILLIZ_IMAGE_SEARCH_COLLECTION_NAME = ZILLIZ_COLLECTION_NAME
|
| 25 |
|
| 26 |
# Collection-specific configurations
|
| 27 |
COLLECTION_CONFIGS = {
|
| 28 |
-
"
|
| 29 |
"anns_field": "aion_search_embedding",
|
| 30 |
"primary_key": "object_id",
|
| 31 |
"output_fields": ["object_id", "ra", "dec", "r_mag"]
|
|
|
|
| 19 |
LOAD_MORE_COUNT = 120
|
| 20 |
|
| 21 |
# Zilliz Configuration
|
| 22 |
+
ZILLIZ_COLLECTION_NAME = "legacy"
|
| 23 |
# Image search always uses legacy collection which has pre-existing embeddings
|
| 24 |
ZILLIZ_IMAGE_SEARCH_COLLECTION_NAME = ZILLIZ_COLLECTION_NAME
|
| 25 |
|
| 26 |
# Collection-specific configurations
|
| 27 |
COLLECTION_CONFIGS = {
|
| 28 |
+
"legacy": {
|
| 29 |
"anns_field": "aion_search_embedding",
|
| 30 |
"primary_key": "object_id",
|
| 31 |
"output_fields": ["object_id", "ra", "dec", "r_mag"]
|