Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nexus/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def create_social_profile_sns(self,

try:
logger.info("Loading embeddings from disk.")
embeddings = np.load(embedding_path)
embeddings = np.load(embedding_path, allow_pickle=False)
except BaseException:
logger.info("Embedding with Cohere")
cohere_api_key = os.getenv("COHERE_KEY")
Expand Down Expand Up @@ -144,4 +144,4 @@ def create_social_profile_sns(self,
map_description="A social profile of the latest POTUS Joe Biden, with Nomic's text embedder created by Yuvanesh Anand",
users=["JoeBiden", "POTUS"],
topics=True,
embedding_path="embeddings/JoeBiden.npy")
embedding_path="embeddings/JoeBiden.npy")