Spaces:
Running
Running
tracinginsights
commited on
Commit
•
2e9deee
1
Parent(s):
a6fd034
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from git import Repo
|
2 |
import os
|
3 |
import streamlit as st
|
4 |
-
|
5 |
|
6 |
st.set_page_config(
|
7 |
page_title="TRACING INSIGHTS",
|
@@ -20,7 +20,5 @@ GITHUB_PAT = os.environ['GITHUB']
|
|
20 |
if not os.path.exists('repo_directory'):
|
21 |
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/F1_analysis.git', 'repo_directory' )
|
22 |
|
23 |
-
|
24 |
-
kaggle.api.authenticate()
|
25 |
-
kaggle.api.dataset_download_files('jtrotman/formula-1-race-events', path='formula-1-race-events', unzip=True)
|
26 |
|
|
|
1 |
from git import Repo
|
2 |
import os
|
3 |
import streamlit as st
|
4 |
+
|
5 |
|
6 |
st.set_page_config(
|
7 |
page_title="TRACING INSIGHTS",
|
|
|
20 |
if not os.path.exists('repo_directory'):
|
21 |
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/F1_analysis.git', 'repo_directory' )
|
22 |
|
23 |
+
|
|
|
|
|
24 |
|