Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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))
|