Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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).
|