Spaces:
Running
Running
Commit ·
b05b246
1
Parent(s): c346f95
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,8 @@
|
|
| 1 |
-
from repo_directory import button
|
| 2 |
from git import Repo
|
| 3 |
import os
|
| 4 |
import streamlit as st
|
| 5 |
-
from repo_directory.st_functions import st_button, load_css
|
| 6 |
-
from PIL import Image
|
| 7 |
-
|
| 8 |
|
|
|
|
| 9 |
|
| 10 |
st.set_page_config(
|
| 11 |
page_title="TRACING INSIGHTS",
|
|
@@ -24,6 +21,8 @@ GITHUB_PAT = os.environ['GITHUB']
|
|
| 24 |
if not os.path.exists('repo_directory'):
|
| 25 |
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/F1_analysis.git', 'repo_directory' )
|
| 26 |
|
|
|
|
|
|
|
| 27 |
|
| 28 |
load_css()
|
| 29 |
|
|
|
|
|
|
|
| 1 |
from git import Repo
|
| 2 |
import os
|
| 3 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
from PIL import Image
|
| 6 |
|
| 7 |
st.set_page_config(
|
| 8 |
page_title="TRACING INSIGHTS",
|
|
|
|
| 21 |
if not os.path.exists('repo_directory'):
|
| 22 |
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/F1_analysis.git', 'repo_directory' )
|
| 23 |
|
| 24 |
+
from repo_directory.st_functions import st_button, load_css
|
| 25 |
+
from repo_directory import button
|
| 26 |
|
| 27 |
load_css()
|
| 28 |
|