Spaces:
Runtime error
Runtime error
Update ai_assistant.py
Browse files- ai_assistant.py +1 -1
ai_assistant.py
CHANGED
|
@@ -10,7 +10,7 @@ from langchain_core.callbacks import StdOutCallbackHandler
|
|
| 10 |
|
| 11 |
def create_index():
|
| 12 |
# Load the data from CSV file
|
| 13 |
-
data_loader = CSVLoader(file_path="
|
| 14 |
data = data_loader.load()
|
| 15 |
|
| 16 |
# Create the embeddings model
|
|
|
|
| 10 |
|
| 11 |
def create_index():
|
| 12 |
# Load the data from CSV file
|
| 13 |
+
data_loader = CSVLoader(file_path="data.csv")
|
| 14 |
data = data_loader.load()
|
| 15 |
|
| 16 |
# Create the embeddings model
|