er1t0 commited on
Commit
acf4dad
1 Parent(s): f03af96

set smaller duration

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=600)
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