增加一些设置。
This commit is contained in:
@@ -759,7 +759,7 @@ class EmbeddingFoodClassifierApp:
|
||||
def save_updated_index(self):
|
||||
"""保存更新后的索引和元数据"""
|
||||
try:
|
||||
index_dir = "../faiss_vector_db/faiss_index"
|
||||
index_dir = "../faiss_vector_db/DishClassification/faiss_index"
|
||||
|
||||
# 保存向量库为 embeddings.json(list[list[float]])
|
||||
emb_path = os.path.join(index_dir, 'embeddings.json')
|
||||
|
||||
Reference in New Issue
Block a user