Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
@@ -398,7 +398,7 @@ def create_documents(data_source: str, data: list) -> list:
|
|
398 |
return docs
|
399 |
|
400 |
# Path to your data.json
|
401 |
-
file_path = "/home/wendy/Downloads/
|
402 |
|
403 |
def load_data(file_path: str) -> List[dict]:
|
404 |
"""Safe JSON data loading with error handling"""
|
|
|
398 |
return docs
|
399 |
|
400 |
# Path to your data.json
|
401 |
+
file_path = "/home/wendy/Downloads/data.json"
|
402 |
|
403 |
def load_data(file_path: str) -> List[dict]:
|
404 |
"""Safe JSON data loading with error handling"""
|