Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -148,7 +148,12 @@ def rag_workflow(query):
|
|
148 |
def initialize():
|
149 |
global vector_store, chunks, llm
|
150 |
|
151 |
-
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
code_texts, code_references = extract_files_and_filepath_from_dir(DATA_DIR, ['kadi_apy'], [])
|
154 |
doc_texts, kadiAPY_doc_references = extract_files_and_filepath_from_dir(DATA_DIR, ['docs/source/'], [])
|
|
|
148 |
def initialize():
|
149 |
global vector_store, chunks, llm
|
150 |
|
151 |
+
|
152 |
+
download_and_upload_kadiAPY_repo_to_huggingfacespace(
|
153 |
+
api_url=config["gitlab"]["api_url"],
|
154 |
+
project_id=config["gitlab"]["project"]["id"],
|
155 |
+
version=config["gitlab"]["project"]["version"]
|
156 |
+
)
|
157 |
|
158 |
code_texts, code_references = extract_files_and_filepath_from_dir(DATA_DIR, ['kadi_apy'], [])
|
159 |
doc_texts, kadiAPY_doc_references = extract_files_and_filepath_from_dir(DATA_DIR, ['docs/source/'], [])
|