Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Medkallel committed Oct 14, 2024
1 parent 45bbb34 commit 45b31f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Gift_Recommendation_Bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 45b31f7

Please sign in to comment.