bupa1018 commited on
Commit
f99e7a7
·
1 Parent(s): aba8f79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def initialize():
52
  download_gitlab_repo_to_hfspace(GITLAB_API_URL, GITLAB_PROJECT_ID, GITLAB_PROJECT_VERSION, DATA_DIR, hf_api, HF_SPACE_NAME)
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/'], [])
56
  doc_texts, doc_references = extract_repo_files(DATA_DIR, [], [])
57
 
58
  print("LEEEEEEEEEEEENGTH of code_texts: ", len(code_texts))
 
52
  download_gitlab_repo_to_hfspace(GITLAB_API_URL, GITLAB_PROJECT_ID, GITLAB_PROJECT_VERSION, DATA_DIR, hf_api, HF_SPACE_NAME)
53
 
54
  code_texts, code_references = extract_repo_files(DATA_DIR, ['kadi_apy'], [])
55
+ doc_texts, doc_references = extract_repo_files(DATA_DIR, ['docs/source/'], [])
56
  doc_texts, doc_references = extract_repo_files(DATA_DIR, [], [])
57
 
58
  print("LEEEEEEEEEEEENGTH of code_texts: ", len(code_texts))