casperpurple commited on
Commit
4e4e870
·
verified ·
1 Parent(s): 08df3cd

Update gradio app.py to @spaces.GPU(duration=1200)

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -69,7 +69,7 @@ def trim_video(input_path, output_path, max_duration=10):
69
  clip.close()
70
  trimmed_clip.close()
71
 
72
- @spaces.GPU(duration=100)
73
  def infer(input_video, input_mask):
74
  # Setup paths and parameters
75
  save_path = "results"
 
69
  clip.close()
70
  trimmed_clip.close()
71
 
72
+ @spaces.GPU(duration=1200)
73
  def infer(input_video, input_mask):
74
  # Setup paths and parameters
75
  save_path = "results"