NeeravS commited on
Commit
773a0e8
·
verified ·
1 Parent(s): 3fe079f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,13 +9,14 @@ import spaces
9
 
10
  ACCESS_KEY = os.getenv("ACCESS_KEY")
11
 
 
12
  torch.use_deterministic_algorithms(True)
13
  torch.backends.cudnn.deterministic = True
14
  torch.backends.cudnn.benchmark = False
15
  torch.backends.cuda.matmul.allow_tf32 = False
16
  torch.backends.cudnn.allow_tf32 = False
17
 
18
- '''
19
  def truncate_video(video_file):
20
  clip = VideoFileClip(video_file)
21
  truncated_clip = clip.subclip(0, min(15, clip.duration))
 
9
 
10
  ACCESS_KEY = os.getenv("ACCESS_KEY")
11
 
12
+ '''
13
  torch.use_deterministic_algorithms(True)
14
  torch.backends.cudnn.deterministic = True
15
  torch.backends.cudnn.benchmark = False
16
  torch.backends.cuda.matmul.allow_tf32 = False
17
  torch.backends.cudnn.allow_tf32 = False
18
 
19
+
20
  def truncate_video(video_file):
21
  clip = VideoFileClip(video_file)
22
  truncated_clip = clip.subclip(0, min(15, clip.duration))