Spaces:
Running
Running
Commit
·
a258686
1
Parent(s):
2210b39
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,12 @@
|
|
1 |
-
from git import Repo
|
2 |
|
3 |
-
repo = Repo.clone_from('https://tracinginsights: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@github.com/TracingInsights/Charts.git', 'tracinginsights/F1-analysis', no_checkout=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#from git import Repo
|
2 |
|
3 |
+
#repo = #Repo.clone_from('https://tracinginsights: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@github.com/TracingInsights/Charts.git', 'tracinginsights/F1-analysis', #no_checkout=True)
|
4 |
+
|
5 |
+
|
6 |
+
|
7 |
+
import pygit2
|
8 |
+
import os
|
9 |
+
|
10 |
+
current_working_directory = os.getcwd()
|
11 |
+
|
12 |
+
pygit2.clone_repository("https://tracinginsights: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@github.com/TracingInsights/Charts.git", current_working_directory)
|