Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
551f450
1
Parent(s):
a8c1b79
bump min length
Browse files- load_card_data.py +1 -1
load_card_data.py
CHANGED
|
@@ -185,7 +185,7 @@ def get_inference_client():
|
|
| 185 |
)
|
| 186 |
|
| 187 |
|
| 188 |
-
def refresh_card_data(min_len: int =
|
| 189 |
logger.info(f"Starting data refresh with min_len={min_len}, min_likes={min_likes}")
|
| 190 |
chroma_client = get_chroma_client()
|
| 191 |
embedding_function = get_embedding_function()
|
|
|
|
| 185 |
)
|
| 186 |
|
| 187 |
|
| 188 |
+
def refresh_card_data(min_len: int = 250, min_likes: Optional[int] = None):
|
| 189 |
logger.info(f"Starting data refresh with min_len={min_len}, min_likes={min_likes}")
|
| 190 |
chroma_client = get_chroma_client()
|
| 191 |
embedding_function = get_embedding_function()
|