Multichem commited on
Commit
e6d6387
·
verified ·
1 Parent(s): 463a75b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -33,12 +33,14 @@ with tab1:
33
  st.info("Update Dwain's LIVE SITE FantasyLife Season Long Projections")
34
  if st.button("Dwain Projection Update (Live Seasonal)", key='reset1'):
35
  response = requests.post(dwain_url, headers=headers)
 
36
  if response.status_code == 200:
37
  st.write("Uploading!")
38
  with col2:
39
  st.info("Update Freedman's LIVE SITE FantasyLife Season Long Projections")
40
  if st.button("Freedman Projection Update (Live Seasonal)", key='reset2'):
41
  response = requests.post(freedman_url, headers=headers)
 
42
  if response.status_code == 200:
43
  st.write("Uploading!")
44
  with col3:
@@ -56,12 +58,14 @@ with tab2:
56
  st.info("Update Dwain's DEV SITE FantasyLife Season Long Projections")
57
  if st.button("Dwain Projection Update (Dev Seasonal)", key='reset4'):
58
  response = requests.post(dev_dwain_url, headers=headers)
 
59
  if response.status_code == 200:
60
  st.write("Uploading!")
61
  with col2:
62
  st.info("Update Freedman's DEV SITE FantasyLife Season Long Projections")
63
  if st.button("Freedman Projection Update (Dev Seasonal)", key='reset5'):
64
  response = requests.post(dev_freedman_url, headers=headers)
 
65
  if response.status_code == 200:
66
  st.write("Uploading!")
67
  with col3:
@@ -79,12 +83,14 @@ with tab3:
79
  st.info("Update Dwain's FantasyLife Weekly Projections")
80
  if st.button("Dwain Projection Update (Weekly)", key='reset7'):
81
  response = requests.post(weekly_dwain_url, headers=headers)
 
82
  if response.status_code == 200:
83
  st.write("Uploading!")
84
  with col2:
85
  st.info("Update Freedman's FantasyLife Weekly Projections")
86
  if st.button("Freedman Projection Update (Weekly)", key='reset8'):
87
  response = requests.post(weekly_freedman_url, headers=headers)
 
88
  if response.status_code == 200:
89
  st.write("Uploading!")
90
  with col3:
 
33
  st.info("Update Dwain's LIVE SITE FantasyLife Season Long Projections")
34
  if st.button("Dwain Projection Update (Live Seasonal)", key='reset1'):
35
  response = requests.post(dwain_url, headers=headers)
36
+ clear = requests.get("https://sheetdb.io/api/v1/svino07zkd6j6?sheet=2024_NFL_Proj_Season")
37
  if response.status_code == 200:
38
  st.write("Uploading!")
39
  with col2:
40
  st.info("Update Freedman's LIVE SITE FantasyLife Season Long Projections")
41
  if st.button("Freedman Projection Update (Live Seasonal)", key='reset2'):
42
  response = requests.post(freedman_url, headers=headers)
43
+ clear = requests.get("https://sheetdb.io/api/v1/svino07zkd6j6?sheet=2024_NFL_Freedman")
44
  if response.status_code == 200:
45
  st.write("Uploading!")
46
  with col3:
 
58
  st.info("Update Dwain's DEV SITE FantasyLife Season Long Projections")
59
  if st.button("Dwain Projection Update (Dev Seasonal)", key='reset4'):
60
  response = requests.post(dev_dwain_url, headers=headers)
61
+ clear = requests.get("https://sheetdb.io/api/v1/svino07zkd6j6?sheet=2024_NFL_Proj_Season")
62
  if response.status_code == 200:
63
  st.write("Uploading!")
64
  with col2:
65
  st.info("Update Freedman's DEV SITE FantasyLife Season Long Projections")
66
  if st.button("Freedman Projection Update (Dev Seasonal)", key='reset5'):
67
  response = requests.post(dev_freedman_url, headers=headers)
68
+ clear = requests.get("https://sheetdb.io/api/v1/svino07zkd6j6?sheet=2024_NFL_Freedman")
69
  if response.status_code == 200:
70
  st.write("Uploading!")
71
  with col3:
 
83
  st.info("Update Dwain's FantasyLife Weekly Projections")
84
  if st.button("Dwain Projection Update (Weekly)", key='reset7'):
85
  response = requests.post(weekly_dwain_url, headers=headers)
86
+ clear = requests.get("https://sheetdb.io/api/v1/svino07zkd6j6?sheet=2024_NFL_Proj_Season")
87
  if response.status_code == 200:
88
  st.write("Uploading!")
89
  with col2:
90
  st.info("Update Freedman's FantasyLife Weekly Projections")
91
  if st.button("Freedman Projection Update (Weekly)", key='reset8'):
92
  response = requests.post(weekly_freedman_url, headers=headers)
93
+ clear = requests.get("https://sheetdb.io/api/v1/svino07zkd6j6?sheet=2024_NFL_Freedman")
94
  if response.status_code == 200:
95
  st.write("Uploading!")
96
  with col3: