Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
= Enea_Gore committed Jan 29, 2025
1 parent 3062b9a commit 4c2fb19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/text/module_text_llm/module_text_llm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ def decrypt_keywords(filename="keywords_encrypted.txt"):
decrypted_keywords = cipher.decrypt(encrypted_keywords).decode()
return decrypted_keywords.split(", ")


keywords = decrypt_keywords()


def load_embeddings_from_file(filename="keyword_embeddings.npy"):
"""
Load embeddings from a .npy file.
Expand All @@ -40,4 +42,5 @@ def load_embeddings_from_file(filename="keyword_embeddings.npy"):
print(f"{filename} does not exist.")
return None


keywords_embeddings = load_embeddings_from_file("keywords_embeddings.npy")

0 comments on commit 4c2fb19

Please sign in to comment.