Update app.py
Browse files
app.py
CHANGED
|
@@ -32,9 +32,15 @@ for filename in os.listdir(data_path):
|
|
| 32 |
|
| 33 |
documents.extend(documents)
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
|
| 40 |
|
|
|
|
| 32 |
|
| 33 |
documents.extend(documents)
|
| 34 |
|
| 35 |
+
print("documents")
|
| 36 |
+
print(documents[0])
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
docs = split_docs(documents, 350, 40)
|
| 40 |
+
|
| 41 |
+
print("docs")
|
| 42 |
+
print(docs[0])
|
| 43 |
+
vectorstore = get_vectorstore(docs)
|
| 44 |
|
| 45 |
|
| 46 |
|