Spaces:
Runtime error
Runtime error
tracinginsights
commited on
Commit
•
82528df
1
Parent(s):
eec3ddf
Update main.py
Browse files
main.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
GITHUB_PAT = os.environ['GITHUB']
|
5 |
|
6 |
if not os.path.exists('repo_directory'):
|
7 |
-
os.mkdir('repo_directory')
|
8 |
-
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/fastf1api.git', '
|
9 |
|
10 |
-
|
|
|
4 |
GITHUB_PAT = os.environ['GITHUB']
|
5 |
|
6 |
if not os.path.exists('repo_directory'):
|
7 |
+
# os.mkdir('repo_directory')
|
8 |
+
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/fastf1api.git', 'repo_directory' )
|
9 |
|
10 |
+
from repo_directory.main import *
|