Skip to content

Commit

Permalink
Fix model path
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhigley committed Dec 2, 2024
1 parent df8b2c2 commit 3ad0baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poprox_recommender/components/generators/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from poprox_recommender.paths import model_file_path
from poprox_recommender.topics import extract_general_topics

model = SentenceTransformer("all-MiniLM-L6-v2")
model = SentenceTransformer(str(model_file_path("all-MiniLM-L6-v2")))

client = OpenAI(
api_key="Put your key here",
Expand Down

0 comments on commit 3ad0baa

Please sign in to comment.