Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import pprint
|
|
5 |
from sentence_transformers import SentenceTransformer, CrossEncoder, util
|
6 |
|
7 |
# read data
|
8 |
-
df = pd.read_csv('./assets/final_combined.csv')to_dict(orient='records')
|
9 |
doc_embeddings = np.load('./assets/final_combined_embed.npy', allow_pickel=True)
|
10 |
|
11 |
def semantic_search(normalized_query):
|
|
|
5 |
from sentence_transformers import SentenceTransformer, CrossEncoder, util
|
6 |
|
7 |
# read data
|
8 |
+
df = pd.read_csv('./assets/final_combined.csv').to_dict(orient='records')
|
9 |
doc_embeddings = np.load('./assets/final_combined_embed.npy', allow_pickel=True)
|
10 |
|
11 |
def semantic_search(normalized_query):
|