Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
@@ -24,7 +24,7 @@ headers = {"Authorization": f"Bearer {HF_API_TOKEN}"}
|
|
24 |
similarity_model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
25 |
|
26 |
# ✅ Load dataset
|
27 |
-
with open("
|
28 |
dataset = json.load(f)
|
29 |
|
30 |
# ✅ Precompute embeddings for dataset questions
|
|
|
24 |
similarity_model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
25 |
|
26 |
# ✅ Load dataset
|
27 |
+
with open("ds.json") as f:
|
28 |
dataset = json.load(f)
|
29 |
|
30 |
# ✅ Precompute embeddings for dataset questions
|