James McCool commited on
Commit
16ebfb6
·
1 Parent(s): 5b0b8e1
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,7 +64,7 @@ with tab1:
64
 
65
  with col3:
66
  st.info("Update Seasonal Guillotine Rankings")
67
- choose_ranker = st.selectbox("Choose Ranker", name_options, key='weekly_ranker')
68
  choose_ranker = api_replace_options[name_options.index(choose_ranker)]
69
  if st.button("Update Seasonal Guillotine Rankings", key='seasonal_guillotine_rankings'):
70
  response = requests.post(f"https://api.fantasylife.com/api/guillotine-rankings/v1/{choose_ranker}/seasonal/update", headers=headers)
@@ -73,7 +73,7 @@ with tab1:
73
 
74
  with col3:
75
  st.info("Update Weekly Guillotine Rankings")
76
- choose_ranker = st.selectbox("Choose Ranker", name_options, key='weekly_ranker')
77
  choose_ranker = api_replace_options[name_options.index(choose_ranker)]
78
  if st.button("Update Weekly Guillotine Rankings", key='weekly_guillotine_rankings'):
79
  response = requests.post(f"https://api.fantasylife.com/api/guillotine-rankings/v1/{choose_ranker}/weekly/update", headers=headers)
 
64
 
65
  with col3:
66
  st.info("Update Seasonal Guillotine Rankings")
67
+ choose_ranker = st.selectbox("Choose Ranker", name_options, key='seasonal_guillotine_ranker')
68
  choose_ranker = api_replace_options[name_options.index(choose_ranker)]
69
  if st.button("Update Seasonal Guillotine Rankings", key='seasonal_guillotine_rankings'):
70
  response = requests.post(f"https://api.fantasylife.com/api/guillotine-rankings/v1/{choose_ranker}/seasonal/update", headers=headers)
 
73
 
74
  with col3:
75
  st.info("Update Weekly Guillotine Rankings")
76
+ choose_ranker = st.selectbox("Choose Ranker", name_options, key='weekly_guillotine_ranker')
77
  choose_ranker = api_replace_options[name_options.index(choose_ranker)]
78
  if st.button("Update Weekly Guillotine Rankings", key='weekly_guillotine_rankings'):
79
  response = requests.post(f"https://api.fantasylife.com/api/guillotine-rankings/v1/{choose_ranker}/weekly/update", headers=headers)