Spaces:
Running
Running
ZaaachX
commited on
Commit
·
0673cdf
1
Parent(s):
44be770
fixed bug
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ if GITHUB_PAT:
|
|
10 |
print("GITHUB_PAT set")
|
11 |
|
12 |
if not os.path.exists('cloned_repo'):
|
13 |
-
Repo.clone_from(f'https://{
|
14 |
|
15 |
# Install Python dependencies
|
16 |
subprocess.run(['pip', 'install', '-r', 'cloned_repo/requirements.txt'])
|
|
|
10 |
print("GITHUB_PAT set")
|
11 |
|
12 |
if not os.path.exists('cloned_repo'):
|
13 |
+
Repo.clone_from(f'https://{GIT_USER}:{GITHUB_PAT}@github.com/{GIT_USER}/{GIT_REPO}.git', './cloned_repo')
|
14 |
|
15 |
# Install Python dependencies
|
16 |
subprocess.run(['pip', 'install', '-r', 'cloned_repo/requirements.txt'])
|