tracinginsights commited on
Commit
aa20908
·
1 Parent(s): 621f493

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -2
app.py CHANGED
@@ -1,12 +1,25 @@
1
  from git import Repo
2
  import os
 
 
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
 
 
 
 
 
 
 
 
 
 
 
10
  option = app.select_gp()
11
  app.plot_recent_overtakes(option)
12
  app.plot_full_season()
 
1
  from git import Repo
2
  import os
3
+ import streamlit as st
4
+ import repo_directory.app as app
5
 
6
  GITHUB_PAT = os.environ['GITHUB']
7
 
8
  if not os.path.exists('repo_directory'):
9
  Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
10
+
11
+ st.set_page_config(
12
+ page_title="TRACING INSIGHTS",
13
+ page_icon=None,
14
+ layout="wide",
15
+ initial_sidebar_state="expanded",
16
+ # menu_items={
17
+ # 'Get Help': 'https://www.extremelycoolapp.com/help',
18
+ # 'Report a bug': "https://www.extremelycoolapp.com/bug",
19
+ # 'About': "# This is a header. This is an *extremely* cool app!"
20
+ # }
21
+ )
22
+
23
  option = app.select_gp()
24
  app.plot_recent_overtakes(option)
25
  app.plot_full_season()