Update app.py
Browse files
app.py
CHANGED
|
@@ -243,7 +243,7 @@ if add_commissioner:
|
|
| 243 |
|
| 244 |
# Schedule Generation
|
| 245 |
if st.button("Generate Schedule"):
|
| 246 |
-
st.session_state.schedule_df = create_schedule(num_teams, num_conferences, num_inter_games)
|
| 247 |
if st.session_state.schedule_df is not None:
|
| 248 |
st.session_state.schedule_df['Date'] = pd.to_datetime(st.session_state.schedule_df['Date'])
|
| 249 |
|
|
|
|
| 243 |
|
| 244 |
# Schedule Generation
|
| 245 |
if st.button("Generate Schedule"):
|
| 246 |
+
st.session_state.schedule_df = create_schedule(st.session_state.num_teams, st.session_state.num_conferences, st.session_state.num_inter_games)
|
| 247 |
if st.session_state.schedule_df is not None:
|
| 248 |
st.session_state.schedule_df['Date'] = pd.to_datetime(st.session_state.schedule_df['Date'])
|
| 249 |
|