bupa1018 commited on
Commit
225b024
·
1 Parent(s): a265fe9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -149,11 +149,7 @@ def initialize():
149
  global vector_store, chunks, llm
150
 
151
 
152
- download_and_upload_kadiAPY_repo_to_huggingfacespace(
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/'], [])