Spaces:
Running
Running
BraydenMoore
commited on
Commit
•
61f43a3
1
Parent(s):
4bcfa0b
Update main.py
Browse files
main.py
CHANGED
@@ -42,8 +42,8 @@ def submit_games():
|
|
42 |
over_unders = []
|
43 |
for row_index,home,away,total in zip(row_indices,home_teams,away_teams,ou_lines):
|
44 |
moneyline, over_under = predict.predict(home,away,season,week,total)
|
45 |
-
moneyline['rowIndex'] =
|
46 |
-
over_under['rowIndex'] =
|
47 |
moneylines.append(moneyline)
|
48 |
over_unders.append(over_under)
|
49 |
|
|
|
42 |
over_unders = []
|
43 |
for row_index,home,away,total in zip(row_indices,home_teams,away_teams,ou_lines):
|
44 |
moneyline, over_under = predict.predict(home,away,season,week,total)
|
45 |
+
moneyline['rowIndex'] = int(row_index)
|
46 |
+
over_under['rowIndex'] = int(row_index)
|
47 |
moneylines.append(moneyline)
|
48 |
over_unders.append(over_under)
|
49 |
|