Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ model, tokenizer = load_moondream()
|
|
23 |
|
24 |
|
25 |
# Uncomment for Hugging Face Spaces
|
26 |
-
|
27 |
def process_video_file(
|
28 |
video_file, detect_keyword, box_style, ffmpeg_preset, rows, cols, test_mode
|
29 |
):
|
|
|
23 |
|
24 |
|
25 |
# Uncomment for Hugging Face Spaces
|
26 |
+
@spaces.GPU(duration=120)
|
27 |
def process_video_file(
|
28 |
video_file, detect_keyword, box_style, ffmpeg_preset, rows, cols, test_mode
|
29 |
):
|