Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def initialize():
|
|
| 49 |
global vectorstore, chunks, llm
|
| 50 |
|
| 51 |
|
| 52 |
-
download_gitlab_repo_to_hfspace(GITLAB_API_URL, GITLAB_PROJECT_ID, GITLAB_PROJECT_VERSION)
|
| 53 |
|
| 54 |
code_texts, code_references = extract_repo_files(DATA_DIR, ['kadi_apy'], [])
|
| 55 |
doc_texts, doc_references = extract_files_and_filepath_from_dir(DATA_DIR, ['docs/source/'], [])
|
|
|
|
| 49 |
global vectorstore, chunks, llm
|
| 50 |
|
| 51 |
|
| 52 |
+
download_gitlab_repo_to_hfspace(GITLAB_API_URL, GITLAB_PROJECT_ID, GITLAB_PROJECT_VERSION, DATA_DIR)
|
| 53 |
|
| 54 |
code_texts, code_references = extract_repo_files(DATA_DIR, ['kadi_apy'], [])
|
| 55 |
doc_texts, doc_references = extract_files_and_filepath_from_dir(DATA_DIR, ['docs/source/'], [])
|