From 45b31f769cb2c32391acf97455feaabac1e83df7 Mon Sep 17 00:00:00 2001 From: Mohamed Kallel Date: Mon, 14 Oct 2024 10:39:55 +0100 Subject: [PATCH] Bug fix --- src/Gift_Recommendation_Bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gift_Recommendation_Bot.py b/src/Gift_Recommendation_Bot.py index e16255d..5345bdd 100644 --- a/src/Gift_Recommendation_Bot.py +++ b/src/Gift_Recommendation_Bot.py @@ -136,6 +136,8 @@ def download_file (path,url): download_file(VECSTORE_PERSIST_DIRECTORY+"/chroma.sqlite3",CHROMA_SQLITE3) for key in VECTORSTORE_LINKS: download_file(VECSTORE_PERSIST_DIRECTORY+CHROMA_SUBDIR_NAME+"/"+key,VECTORSTORE_LINKS[key]) + st.write(os.listdir(VECSTORE_PERSIST_DIRECTORY)) + st.write(os.listdir(VECSTORE_PERSIST_DIRECTORY+CHROMA_SUBDIR_NAME)) vectorstore = Chroma( persist_directory=VECSTORE_PERSIST_DIRECTORY, embedding_function=embeddings )