Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -240,7 +240,7 @@ def rag_workflow(query):
|
|
| 240 |
def initialize():
|
| 241 |
global vectorstore, chunks, llm
|
| 242 |
|
| 243 |
-
partial_paths = ['
|
| 244 |
file_paths = []
|
| 245 |
all_texts, file_references = process_directory(REPOSITORY_DIRECTORY, partial_paths, file_paths)
|
| 246 |
chunks = split_into_chunks(all_texts, file_references, 512, 0)
|
|
|
|
| 240 |
def initialize():
|
| 241 |
global vectorstore, chunks, llm
|
| 242 |
|
| 243 |
+
partial_paths = ['docs/source/setup/', 'kadi_apy/lib/','docs/source/usage/']
|
| 244 |
file_paths = []
|
| 245 |
all_texts, file_references = process_directory(REPOSITORY_DIRECTORY, partial_paths, file_paths)
|
| 246 |
chunks = split_into_chunks(all_texts, file_references, 512, 0)
|