John2J commited on
Commit
4f377e3
·
verified ·
1 Parent(s): 7e3cfaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -247,7 +247,7 @@ def preprocess_for_removal(images, masks):
247
 
248
  MAX_PROC_SIDE = None # None = native resolution; set e.g. 1280 if you hit OOM
249
 
250
- @spaces.GPU(duration=300) # 1080p is heavy — give it time
251
  def inference_and_return_video(dilation_iterations, num_inference_steps, video_path, video_state):
252
  if video_state.get("video_path") is None:
253
  video_state["video_path"] = video_path
 
247
 
248
  MAX_PROC_SIDE = None # None = native resolution; set e.g. 1280 if you hit OOM
249
 
250
+ @spaces.GPU(duration=1200) # 1080p is heavy — give it time
251
  def inference_and_return_video(dilation_iterations, num_inference_steps, video_path, video_state):
252
  if video_state.get("video_path") is None:
253
  video_state["video_path"] = video_path