Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,11 +51,12 @@ def convert_df_to_csv(df):
|
|
| 51 |
return df.to_csv().encode('utf-8')
|
| 52 |
|
| 53 |
prop_display, timestamp = pull_baselines()
|
|
|
|
| 54 |
|
| 55 |
tab1, tab2 = st.tabs(["Player Stat Table", 'Game Betting Model'])
|
| 56 |
|
| 57 |
with tab1:
|
| 58 |
-
st.info(
|
| 59 |
if st.button("Reset Data", key='reset1'):
|
| 60 |
st.cache_data.clear()
|
| 61 |
prop_display, timestamp = pull_baselines()
|
|
|
|
| 51 |
return df.to_csv().encode('utf-8')
|
| 52 |
|
| 53 |
prop_display, timestamp = pull_baselines()
|
| 54 |
+
t_stamp = f"Last Update: " + str(timestamp) + f" CST"
|
| 55 |
|
| 56 |
tab1, tab2 = st.tabs(["Player Stat Table", 'Game Betting Model'])
|
| 57 |
|
| 58 |
with tab1:
|
| 59 |
+
st.info(t_stamp)
|
| 60 |
if st.button("Reset Data", key='reset1'):
|
| 61 |
st.cache_data.clear()
|
| 62 |
prop_display, timestamp = pull_baselines()
|