Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def downsample_video(video_path, num_frames=10):
|
|
56 |
#####################################
|
57 |
# 3. The Inference Function
|
58 |
#####################################
|
59 |
-
@
|
60 |
def video_inference(video_file, duration):
|
61 |
"""
|
62 |
- Takes a recorded video file and a chosen duration (string).
|
|
|
56 |
#####################################
|
57 |
# 3. The Inference Function
|
58 |
#####################################
|
59 |
+
@spaces.GPU
|
60 |
def video_inference(video_file, duration):
|
61 |
"""
|
62 |
- Takes a recorded video file and a chosen duration (string).
|