nateraw commited on
Commit
9b7a4e0
β€’
1 Parent(s): 6d0fa97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ class Pipeline:
109
  text = ""
110
  with torch.autocast(self.device):
111
  for start, stop, frames in iter_clips(video_path):
112
- text += f"{'-'*30} Predictions From: {start:10.3f}-{stop:10.3f} seconds {'-'*30}\n"
113
  frames = self.val_transform(frames).unsqueeze(0)
114
  if self.device == 'cuda':
115
  frames = frames.to(self.device).half()
 
109
  text = ""
110
  with torch.autocast(self.device):
111
  for start, stop, frames in iter_clips(video_path):
112
+ text += f"{'-'*30} Predictions From: {start:2.3f}-{stop:2.3f} seconds {'-'*30}\n"
113
  frames = self.val_transform(frames).unsqueeze(0)
114
  if self.device == 'cuda':
115
  frames = frames.to(self.device).half()