Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ def get_stats_from_boxScore_data(url: str, stat: str) -> dict:
|
|
100 |
return {"Error": f"Invalid stat '{stat}'. Allowed values are: {', '.join(allowed_stats)}"}
|
101 |
try:
|
102 |
box_scores = get_box_score_data(url)
|
103 |
-
|
104 |
stats = {}
|
105 |
stat_key = ('Basic Box Score Stats', stat)
|
106 |
for teams in box_scores.keys():
|
|
|
100 |
return {"Error": f"Invalid stat '{stat}'. Allowed values are: {', '.join(allowed_stats)}"}
|
101 |
try:
|
102 |
box_scores = get_box_score_data(url)
|
103 |
+
return box_scores
|
104 |
stats = {}
|
105 |
stat_key = ('Basic Box Score Stats', stat)
|
106 |
for teams in box_scores.keys():
|