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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -52,8 +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_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))
59
  print("LEEEEEEEEEEEENGTH of doc_files: ", len(doc_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'], [])
 
56
 
57
  print("LEEEEEEEEEEEENGTH of code_texts: ", len(code_texts))
58
  print("LEEEEEEEEEEEENGTH of doc_files: ", len(doc_texts))