tracinginsights commited on
Commit
6cb2101
β€’
1 Parent(s): b34994f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -9,7 +9,7 @@ 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
 
12
- import repo_directory.app as app
13
  button = """
14
  <script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="TracingInsights" data-color="#00ff00" data-emoji="😍" data-font="Cookie" data-text="Buy me a coffee" data-outline-color="#000000" data-font-color="#000000" data-coffee-color="#FFDD00" ></script>
15
  """
@@ -29,20 +29,20 @@ st.markdown(
29
  unsafe_allow_html=True,
30
  )
31
 
32
- option = app.select_gp()
33
- app.plot_recent_overtakes(option)
34
- app.plot_full_season()
35
- app.plot_circuits()
36
 
37
- # from multipage import MultiPage
38
- # from repo_directory.pages import Race_Launch_Performance_Ratings
39
 
40
- # # Create an instance of the app
41
- # multiapp = MultiPage()
42
 
43
- # # Add all your application here
44
- # multiapp.add_page("Race_Launch_Performance_Ratings", Race_Launch_Performance_Ratings.app)
45
 
46
- # # The main app
47
- # multiapp.run()
48
 
 
9
  Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
10
 
11
 
12
+ #import repo_directory.app as app
13
  button = """
14
  <script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="TracingInsights" data-color="#00ff00" data-emoji="😍" data-font="Cookie" data-text="Buy me a coffee" data-outline-color="#000000" data-font-color="#000000" data-coffee-color="#FFDD00" ></script>
15
  """
 
29
  unsafe_allow_html=True,
30
  )
31
 
32
+ # option = app.select_gp()
33
+ # app.plot_recent_overtakes(option)
34
+ # app.plot_full_season()
35
+ # app.plot_circuits()
36
 
37
+ from multipage import MultiPage
38
+ from repo_directory.pages import Race_Launch_Performance_Ratings
39
 
40
+ # Create an instance of the app
41
+ multiapp = MultiPage()
42
 
43
+ # Add all your application here
44
+ multiapp.add_page("Race_Launch_Performance_Ratings", Race_Launch_Performance_Ratings.app)
45
 
46
+ # The main app
47
+ multiapp.run()
48