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