Spaces:
Sleeping
Sleeping
Update rag.py
Browse files
rag.py
CHANGED
|
@@ -25,7 +25,7 @@ HF_DATASET_REPO = "midrees2806/unmatched_queries"
|
|
| 25 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 26 |
|
| 27 |
# Load dataset (automatically using the path)
|
| 28 |
-
with open('dataset
|
| 29 |
dataset = json.load(f)
|
| 30 |
|
| 31 |
# Precompute embeddings
|
|
|
|
| 25 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 26 |
|
| 27 |
# Load dataset (automatically using the path)
|
| 28 |
+
with open('dataset/', 'r') as f:
|
| 29 |
dataset = json.load(f)
|
| 30 |
|
| 31 |
# Precompute embeddings
|