Spaces:
Sleeping
Sleeping
Update rag.py
Browse files
rag.py
CHANGED
|
@@ -40,7 +40,7 @@ UNMATCHED_RESPONSES = [
|
|
| 40 |
# Load multiple JSON datasets
|
| 41 |
dataset = []
|
| 42 |
try:
|
| 43 |
-
json_files = glob.glob('
|
| 44 |
for file_path in json_files:
|
| 45 |
with open(file_path, 'r', encoding='utf-8') as f:
|
| 46 |
data = json.load(f)
|
|
|
|
| 40 |
# Load multiple JSON datasets
|
| 41 |
dataset = []
|
| 42 |
try:
|
| 43 |
+
json_files = glob.glob('dataset.json')
|
| 44 |
for file_path in json_files:
|
| 45 |
with open(file_path, 'r', encoding='utf-8') as f:
|
| 46 |
data = json.load(f)
|