LinDee commited on
Commit
e0f739f
·
verified ·
1 Parent(s): 2731b35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from sklearn.metrics.pairwise import cosine_similarity
5
  from sentence_transformers import SentenceTransformer
6
 
7
  # ✅ Correct way to load the model
8
- model = SentenceTransformer("recommender") # Replace with your model name/path
9
 
10
  # Load posts dataset
11
  posts_df = pd.read_csv("posts_cleaned.csv")
 
5
  from sentence_transformers import SentenceTransformer
6
 
7
  # ✅ Correct way to load the model
8
+ model = SentenceTransformer("recommender_model") # Replace with your model name/path
9
 
10
  # Load posts dataset
11
  posts_df = pd.read_csv("posts_cleaned.csv")