James McCool commited on
Commit
17b95a8
·
1 Parent(s): b452630

Update app.py to reflect changes in button info messages, changing "Projections" to "Ranks" for clarity in both Seasonal and Weekly tabs.

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -58,19 +58,19 @@ with tab1:
58
  col1, col2, col3 = st.columns([3, 3, 3])
59
 
60
  with col1:
61
- st.info("Update Dwain's LIVE SITE FantasyLife Season Long Projections")
62
  if st.button("Dwain Projection Update (Live Seasonal)", key='reset1'):
63
  response = requests.post(dwain_url, headers=headers)
64
  if response.status_code == 200:
65
  st.write("Uploading!")
66
  with col2:
67
- st.info("Update Freedman's LIVE SITE FantasyLife Season Long Projections")
68
  if st.button("Freedman Projection Update (Live Seasonal)", key='reset2'):
69
  response = requests.post(freedman_url, headers=headers)
70
  if response.status_code == 200:
71
  st.write("Uploading!")
72
  with col3:
73
- st.info("Update the Aggregate LIVE SITE FantasyLife Season Long Projections")
74
  if st.button("Aggregate Projection Update (Live Seasonal)", key='reset3'):
75
  response = requests.post(agg_url, headers=headers)
76
  if response.status_code == 200:
@@ -82,19 +82,19 @@ with tab2:
82
  col1, col2, col3 = st.columns([3, 3, 3])
83
 
84
  with col1:
85
- st.info("Update Dwain's FantasyLife Weekly Projections")
86
  if st.button("Dwain Projection Update (Weekly)", key='reset7'):
87
  response = requests.post(weekly_dwain_url, headers=headers)
88
  if response.status_code == 200:
89
  st.write("Uploading!")
90
  with col2:
91
- st.info("Update Freedman's FantasyLife Weekly Projections")
92
  if st.button("Freedman Projection Update (Weekly)", key='reset8'):
93
  response = requests.post(weekly_freedman_url, headers=headers)
94
  if response.status_code == 200:
95
  st.write("Uploading!")
96
  with col3:
97
- st.info("Update the Aggregate FantasyLife Weekly Projections")
98
  if st.button("Aggregate Projection Update (Weekly)", key='reset9'):
99
  response = requests.post(weekly_agg_url, headers=headers)
100
  if response.status_code == 200:
 
58
  col1, col2, col3 = st.columns([3, 3, 3])
59
 
60
  with col1:
61
+ st.info("Update Dwain's LIVE SITE FantasyLife Season Long Ranks")
62
  if st.button("Dwain Projection Update (Live Seasonal)", key='reset1'):
63
  response = requests.post(dwain_url, headers=headers)
64
  if response.status_code == 200:
65
  st.write("Uploading!")
66
  with col2:
67
+ st.info("Update Freedman's LIVE SITE FantasyLife Season Long Ranks")
68
  if st.button("Freedman Projection Update (Live Seasonal)", key='reset2'):
69
  response = requests.post(freedman_url, headers=headers)
70
  if response.status_code == 200:
71
  st.write("Uploading!")
72
  with col3:
73
+ st.info("Update the Aggregate LIVE SITE FantasyLife Season Long Ranks")
74
  if st.button("Aggregate Projection Update (Live Seasonal)", key='reset3'):
75
  response = requests.post(agg_url, headers=headers)
76
  if response.status_code == 200:
 
82
  col1, col2, col3 = st.columns([3, 3, 3])
83
 
84
  with col1:
85
+ st.info("Update Dwain's FantasyLife Weekly Ranks")
86
  if st.button("Dwain Projection Update (Weekly)", key='reset7'):
87
  response = requests.post(weekly_dwain_url, headers=headers)
88
  if response.status_code == 200:
89
  st.write("Uploading!")
90
  with col2:
91
+ st.info("Update Freedman's FantasyLife Weekly Ranks")
92
  if st.button("Freedman Projection Update (Weekly)", key='reset8'):
93
  response = requests.post(weekly_freedman_url, headers=headers)
94
  if response.status_code == 200:
95
  st.write("Uploading!")
96
  with col3:
97
+ st.info("Update the Aggregate FantasyLife Weekly Ranks")
98
  if st.button("Aggregate Projection Update (Weekly)", key='reset9'):
99
  response = requests.post(weekly_agg_url, headers=headers)
100
  if response.status_code == 200: