Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,11 +149,7 @@ def initialize():
|
|
149 |
global vector_store, chunks, llm
|
150 |
|
151 |
|
152 |
-
|
153 |
-
api_url=config2["gitlab"]["api_url"],
|
154 |
-
project_id=config2["gitlab"]["project"]["id"],
|
155 |
-
version=config2["gitlab"]["project"]["version"]
|
156 |
-
)
|
157 |
|
158 |
code_texts, code_references = extract_repo_files(DATA_DIR, ['kadi_apy'], [])
|
159 |
#doc_texts, doc_references = extract_files_and_filepath_from_dir(DATA_DIR, ['docs/source/'], [])
|
|
|
149 |
global vector_store, chunks, llm
|
150 |
|
151 |
|
152 |
+
download_gitlab_repo_to_hfspace(GITLAB_API_URL, GITLAB_PROJECT_ID, GITLAB_PROJECT_VERSION)
|
|
|
|
|
|
|
|
|
153 |
|
154 |
code_texts, code_references = extract_repo_files(DATA_DIR, ['kadi_apy'], [])
|
155 |
#doc_texts, doc_references = extract_files_and_filepath_from_dir(DATA_DIR, ['docs/source/'], [])
|