Update app.py
Browse files
app.py
CHANGED
|
@@ -490,7 +490,7 @@ def server(input, output, session):
|
|
| 490 |
def player_select_ui():
|
| 491 |
# Get the list of pitchers for the selected level and season
|
| 492 |
if input.level_input() == '21':
|
| 493 |
-
return ui.input_select("pitcher_id", "Select Pitcher",
|
| 494 |
|
| 495 |
df_pitcher_info = scrape.get_players(sport_id=int(input.level_input()), season=int(input.year_input()), game_type = [input.type_input()]).filter(
|
| 496 |
(pl.col("position").is_in(['P','TWP']))|
|
|
|
|
| 490 |
def player_select_ui():
|
| 491 |
# Get the list of pitchers for the selected level and season
|
| 492 |
if input.level_input() == '21':
|
| 493 |
+
return ui.input_select("pitcher_id", "Select Pitcher", {806258:'Thomas White'}, selectize=True)
|
| 494 |
|
| 495 |
df_pitcher_info = scrape.get_players(sport_id=int(input.level_input()), season=int(input.year_input()), game_type = [input.type_input()]).filter(
|
| 496 |
(pl.col("position").is_in(['P','TWP']))|
|