Spaces:
Sleeping
Sleeping
Update embed_data.py
Browse files- embed_data.py +1 -1
embed_data.py
CHANGED
|
@@ -65,7 +65,7 @@ def initialize_pinecone():
|
|
| 65 |
return index
|
| 66 |
|
| 67 |
# Load the e-bikes data
|
| 68 |
-
def load_ebikes_data(file_path="
|
| 69 |
with open(file_path, 'r') as f:
|
| 70 |
data = json.load(f)
|
| 71 |
return data.get('pogo-cycles-data', [])
|
|
|
|
| 65 |
return index
|
| 66 |
|
| 67 |
# Load the e-bikes data
|
| 68 |
+
def load_ebikes_data(file_path="data.json"):
|
| 69 |
with open(file_path, 'r') as f:
|
| 70 |
data = json.load(f)
|
| 71 |
return data.get('pogo-cycles-data', [])
|