Spaces:
Running
Running
tracinginsights
commited on
Commit
•
3179558
1
Parent(s):
3cd24f4
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,7 @@ import os
|
|
3 |
|
4 |
GITHUB_PAT = os.environ['GITHUB']
|
5 |
|
6 |
-
if os.path.exists('repo_directory'):
|
7 |
-
|
8 |
-
else:
|
9 |
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
|
10 |
|
11 |
import repo_directory.app as app
|
|
|
3 |
|
4 |
GITHUB_PAT = os.environ['GITHUB']
|
5 |
|
6 |
+
if not os.path.exists('repo_directory'):
|
|
|
|
|
7 |
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
|
8 |
|
9 |
import repo_directory.app as app
|