nesticot commited on
Commit
176e300
·
verified ·
1 Parent(s): c643a36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def server(input, output, session):
137
  def player_select_ui():
138
  # Get the list of pitchers for the selected level and season
139
  df_pitcher_info = scrape.get_players(sport_id=int(input.level_input()), season=int(input.year_input())).filter(
140
- pl.col("position").is_in(['P'])).sort("name")
141
 
142
  # Create a dictionary of pitcher IDs and names
143
  pitcher_dict = dict(zip(df_pitcher_info['player_id'], df_pitcher_info['name']))
 
137
  def player_select_ui():
138
  # Get the list of pitchers for the selected level and season
139
  df_pitcher_info = scrape.get_players(sport_id=int(input.level_input()), season=int(input.year_input())).filter(
140
+ pl.col("position").is_in(['P','TWP'])).sort("name")
141
 
142
  # Create a dictionary of pitcher IDs and names
143
  pitcher_dict = dict(zip(df_pitcher_info['player_id'], df_pitcher_info['name']))