nesticot commited on
Commit
ca6aea9
·
verified ·
1 Parent(s): 25a170d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -491,7 +491,12 @@ def server(input, output, session):
491
  def player_select_ui():
492
  # Get the list of pitchers for the selected level and season
493
  if input.level_input() == '21':
494
-
 
 
 
 
 
495
  # Get game data
496
  game_list = scrape.get_player_games_list(
497
  sport_id=sport_id,
 
491
  def player_select_ui():
492
  # Get the list of pitchers for the selected level and season
493
  if input.level_input() == '21':
494
+ year_input = int(input.year_input())
495
+ sport_id = int(input.level_input())
496
+ player_input = int(input.pitcher_id())
497
+ start_date = str(input.date_id()[0])
498
+ end_date = str(input.date_id()[1])
499
+ game_type = [input.type_input()]
500
  # Get game data
501
  game_list = scrape.get_player_games_list(
502
  sport_id=sport_id,