ZaaachX commited on
Commit
44be770
·
1 Parent(s): 03bb562
Files changed (1) hide show
  1. app.py +2 -2
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://github.com/zihanxing/decorx-rowe-tool', './cloned_repo')
14
 
15
  # Install Python dependencies
16
  subprocess.run(['pip', 'install', '-r', 'cloned_repo/requirements.txt'])
@@ -24,4 +24,4 @@ if os.path.exists('cloned_repo/packages.txt'):
24
  subprocess.run(['apt-get', 'install', '-y'] + packages)
25
 
26
  import cloned_repo.main as main
27
- from cloned_repo.main import *
 
10
  print("GITHUB_PAT set")
11
 
12
  if not os.path.exists('cloned_repo'):
13
+ Repo.clone_from(f'https://{GIT_id}:{GITHUB_PAT}@github.com/{GIT_id}/{GIT_repo}.git', './cloned_repo')
14
 
15
  # Install Python dependencies
16
  subprocess.run(['pip', 'install', '-r', 'cloned_repo/requirements.txt'])
 
24
  subprocess.run(['apt-get', 'install', '-y'] + packages)
25
 
26
  import cloned_repo.main as main
27
+ from cloned_repo.main import *