prithivMLmods commited on
Commit
d4c84a1
·
verified ·
1 Parent(s): 1a3648a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -54,6 +54,7 @@ def downsample_video(video_path, num_frames=10):
54
  #####################################
55
  # 3. The Inference Function
56
  #####################################
 
57
  def video_inference(video_file, duration):
58
  """
59
  - Takes a recorded video file and a chosen duration (string).
 
54
  #####################################
55
  # 3. The Inference Function
56
  #####################################
57
+ @spaces.GPU
58
  def video_inference(video_file, duration):
59
  """
60
  - Takes a recorded video file and a chosen duration (string).