Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,11 @@ GIT_repo = os.environ['GIT_repo']
|
|
10 |
if GITHUB_PAT != []:
|
11 |
print("GITHUB_PAT set")
|
12 |
|
13 |
-
if not os.path.exists('cloned_repo'):
|
14 |
-
Repo.clone_from(f'https://{GIT_id}:{GITHUB_PAT}@github.com/{GIT_id}/{GIT_repo}.git' , './cloned_repo'
|
15 |
|
16 |
import cloned_repo.main as main
|
17 |
-
from cloned_repo.main import *
|
|
|
|
|
|
|
|
10 |
if GITHUB_PAT != []:
|
11 |
print("GITHUB_PAT set")
|
12 |
|
13 |
+
if not os.path.exists('cloned_repo'):
|
14 |
+
Repo.clone_from(f'https://{GIT_id}:{GITHUB_PAT}@github.com/{GIT_id}/{GIT_repo}.git' , './cloned_repo' )
|
15 |
|
16 |
import cloned_repo.main as main
|
17 |
+
from cloned_repo.main import *
|
18 |
+
|
19 |
+
|
20 |
+
|