Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ import pandas as pd
|
|
3 |
from sklearn.metrics.pairwise import cosine_similarity
|
4 |
|
5 |
# Load embeddings and metadata
|
6 |
-
embeddings = np.load("
|
7 |
-
metadata = pd.read_csv("
|
8 |
|
9 |
# Vector search function
|
10 |
def vector_search(query, model):
|
|
|
3 |
from sklearn.metrics.pairwise import cosine_similarity
|
4 |
|
5 |
# Load embeddings and metadata
|
6 |
+
embeddings = np.load("netflix_embeddings.npy")
|
7 |
+
metadata = pd.read_csv("netflix_metadata.csv")
|
8 |
|
9 |
# Vector search function
|
10 |
def vector_search(query, model):
|