Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ model = sentence_transformers.SentenceTransformer(
|
|
11 |
"dangvantuan/sentence-camembert-large", device="cpu")
|
12 |
|
13 |
|
14 |
-
dataset = datasets.load_dataset("json", data_files=["./
|
15 |
dataset.load_faiss_index("embeddings", "index.faiss")
|
16 |
|
17 |
def search(query, k):
|
|
|
11 |
"dangvantuan/sentence-camembert-large", device="cpu")
|
12 |
|
13 |
|
14 |
+
dataset = datasets.load_dataset("json", data_files=["./dataset.json"], split="train")
|
15 |
dataset.load_faiss_index("embeddings", "index.faiss")
|
16 |
|
17 |
def search(query, k):
|