Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ if GITHUB_PAT:
|
|
| 14 |
# Ensure the cloned_repo directory does not already exist
|
| 15 |
if not os.path.exists('cloned_repo'):
|
| 16 |
# Clone the repository using the Personal Access Token for authentication
|
| 17 |
-
Repo.clone_from(f'https://{GIT_id}:{GITHUB_PAT}@github.com/{GIT_id}/{GIT_repo}.git', './
|
| 18 |
|
| 19 |
# Import the main module from the cloned repository
|
| 20 |
#import cloned_repo.main as main
|
|
|
|
| 14 |
# Ensure the cloned_repo directory does not already exist
|
| 15 |
if not os.path.exists('cloned_repo'):
|
| 16 |
# Clone the repository using the Personal Access Token for authentication
|
| 17 |
+
Repo.clone_from(f'https://{GIT_id}:{GITHUB_PAT}@github.com/{GIT_id}/{GIT_repo}.git', './cloned_repo')
|
| 18 |
|
| 19 |
# Import the main module from the cloned repository
|
| 20 |
#import cloned_repo.main as main
|