Multichem commited on
Commit
45a439d
·
1 Parent(s): 5a713b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -1,6 +1,12 @@
 
 
 
 
 
 
 
1
  import numpy as np
2
  import pandas as pd
3
- import streamlit as st
4
  import gspread
5
  import plotly.express as px
6
 
@@ -27,7 +33,7 @@ def init_conn():
27
 
28
  gspreadcon = init_conn()
29
 
30
- st.set_page_config(layout="wide")
31
 
32
  game_format = {'Win%': '{:.2%}', 'Vegas': '{:.2%}', 'Win% Diff': '{:.2%}'}
33
  american_format = {'First Inning Lead Percentage': '{:.2%}', 'Fifth Inning Lead Percentage': '{:.2%}'}
 
1
+ import streamlit as st
2
+ st.set_page_config(layout="wide")
3
+
4
+ for name in dir():
5
+ if not name.startswith('_'):
6
+ del globals()[name]
7
+
8
  import numpy as np
9
  import pandas as pd
 
10
  import gspread
11
  import plotly.express as px
12
 
 
33
 
34
  gspreadcon = init_conn()
35
 
36
+
37
 
38
  game_format = {'Win%': '{:.2%}', 'Vegas': '{:.2%}', 'Win% Diff': '{:.2%}'}
39
  american_format = {'First Inning Lead Percentage': '{:.2%}', 'Fifth Inning Lead Percentage': '{:.2%}'}