Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def infer(model, replay_file,
|
|
| 51 |
seconds_remaining = torch.tensor(seconds_remaining)
|
| 52 |
it.close()
|
| 53 |
|
| 54 |
-
timer = serialized_scoreboards[:, SB_GAME_TIMER_SECONDS]
|
| 55 |
is_ot = timer > 450
|
| 56 |
ot_time_remaining = seconds_remaining[is_ot]
|
| 57 |
if len(ot_time_remaining) > 0:
|
|
|
|
| 51 |
seconds_remaining = torch.tensor(seconds_remaining)
|
| 52 |
it.close()
|
| 53 |
|
| 54 |
+
timer = serialized_scoreboards[:, SB_GAME_TIMER_SECONDS].clone()
|
| 55 |
is_ot = timer > 450
|
| 56 |
ot_time_remaining = seconds_remaining[is_ot]
|
| 57 |
if len(ot_time_remaining) > 0:
|