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 45b31f7 commit 80aeaad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gift_Recommendation_Bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def download_file (path,url):
embeddings = TogetherEmbeddings(
model=EMBEDDINGS_MODEL_NAME, api_key=st.secrets["TOGETHER_API_KEY"]
)
st.write(os.listdir())
if not os.path.exists(VECSTORE_PERSIST_DIRECTORY):
os.makedirs(VECSTORE_PERSIST_DIRECTORY)
if not os.path.exists(VECSTORE_PERSIST_DIRECTORY+CHROMA_SUBDIR_NAME):
Expand Down

0 comments on commit 80aeaad

Please sign in to comment.