Spaces:
Running
on
Zero
Running
on
Zero
set smaller duration
Browse files
app.py
CHANGED
@@ -240,7 +240,7 @@ def process_video(video_path, prompt, target_fps=30, max_dimension=640):
|
|
240 |
print(traceback.format_exc()) # This will print the full stack trace
|
241 |
return None
|
242 |
|
243 |
-
@spaces.GPU(duration=
|
244 |
def segment_video(video_file, prompt):
|
245 |
if video_file is None:
|
246 |
return None
|
|
|
240 |
print(traceback.format_exc()) # This will print the full stack trace
|
241 |
return None
|
242 |
|
243 |
+
@spaces.GPU(duration=300)
|
244 |
def segment_video(video_file, prompt):
|
245 |
if video_file is None:
|
246 |
return None
|