Spaces:
Sleeping
Sleeping
Update cura/github_ingestion.py
Browse files- cura/github_ingestion.py +1 -1
cura/github_ingestion.py
CHANGED
|
@@ -27,7 +27,7 @@ def ingest_github_repo(repo_name: str, access_token: str):
|
|
| 27 |
list
|
| 28 |
A list of strings containing the contents of the files in the repository.
|
| 29 |
"""
|
| 30 |
-
if access_token
|
| 31 |
loader = GithubFileLoader(
|
| 32 |
repo=repo_name,
|
| 33 |
access_token=access_token,
|
|
|
|
| 27 |
list
|
| 28 |
A list of strings containing the contents of the files in the repository.
|
| 29 |
"""
|
| 30 |
+
if access_token != "":
|
| 31 |
loader = GithubFileLoader(
|
| 32 |
repo=repo_name,
|
| 33 |
access_token=access_token,
|