Update app.py
Browse files
app.py
CHANGED
|
@@ -183,7 +183,7 @@ def server(input, output, session):
|
|
| 183 |
return df
|
| 184 |
|
| 185 |
@render.ui
|
| 186 |
-
@reactive.event(input.player_button, ignore_none=False)
|
| 187 |
def player_select_ui():
|
| 188 |
# Get the list of pitchers for the selected level and season
|
| 189 |
df_pitcher_info = scrape.get_players(sport_id=int(input.level_input()), season=int(input.year_input()), game_type = [input.type_input()]).filter(
|
|
|
|
| 183 |
return df
|
| 184 |
|
| 185 |
@render.ui
|
| 186 |
+
@reactive.event(input.player_button, input.year_input, input.level_input, input.type_input,ignore_none=False)
|
| 187 |
def player_select_ui():
|
| 188 |
# Get the list of pitchers for the selected level and season
|
| 189 |
df_pitcher_info = scrape.get_players(sport_id=int(input.level_input()), season=int(input.year_input()), game_type = [input.type_input()]).filter(
|