Spaces:
Running
Running
ZaaachX
commited on
Commit
·
03bb562
1
Parent(s):
8934152
update
Browse files
app.py
CHANGED
@@ -6,6 +6,9 @@ GITHUB_PAT = os.getenv('GITHUB_PAT')
|
|
6 |
GIT_USER = os.getenv('GIT_USER')
|
7 |
GIT_REPO = os.getenv('GIT_REPO')
|
8 |
|
|
|
|
|
|
|
9 |
if not os.path.exists('cloned_repo'):
|
10 |
Repo.clone_from(f'https://github.com/zihanxing/decorx-rowe-tool', './cloned_repo')
|
11 |
|
|
|
6 |
GIT_USER = os.getenv('GIT_USER')
|
7 |
GIT_REPO = os.getenv('GIT_REPO')
|
8 |
|
9 |
+
if GITHUB_PAT:
|
10 |
+
print("GITHUB_PAT set")
|
11 |
+
|
12 |
if not os.path.exists('cloned_repo'):
|
13 |
Repo.clone_from(f'https://github.com/zihanxing/decorx-rowe-tool', './cloned_repo')
|
14 |
|