Spaces:
Sleeping
Sleeping
first commit
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ async def init():
|
|
| 50 |
await msg.send()
|
| 51 |
|
| 52 |
# build FAISS index from csv
|
| 53 |
-
loader = CSVLoader(file_path="./data/
|
| 54 |
data = loader.load()
|
| 55 |
documents = text_splitter.transform_documents(data)
|
| 56 |
store = LocalFileStore("./cache/")
|
|
|
|
| 50 |
await msg.send()
|
| 51 |
|
| 52 |
# build FAISS index from csv
|
| 53 |
+
loader = CSVLoader(file_path="./data/roaringkitty.csv", source_column="Link")
|
| 54 |
data = loader.load()
|
| 55 |
documents = text_splitter.transform_documents(data)
|
| 56 |
store = LocalFileStore("./cache/")
|