Rolv-Arild commited on
Commit
c97d36a
·
verified ·
1 Parent(s): 7af02d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: