guardiancc commited on
Commit
ab82dd8
·
verified ·
1 Parent(s): 03aa40e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def get_video_fps(video_path):
102
  def load_examples(ref_image_in, ref_video_in):
103
  return "./examples/mimicmotion_result1_example.mp4"
104
 
105
- @spaces.GPU(duration=400)
106
  def infer(ref_image_in, ref_video_in, num_inference_steps, guidance_scale, output_frames_per_second, seed, checkpoint_version):
107
  # check if 'outputs' dir exists and empty it if necessary
108
  check_outputs_folder('./outputs')
 
102
  def load_examples(ref_image_in, ref_video_in):
103
  return "./examples/mimicmotion_result1_example.mp4"
104
 
105
+ @spaces.GPU(duration=300)
106
  def infer(ref_image_in, ref_video_in, num_inference_steps, guidance_scale, output_frames_per_second, seed, checkpoint_version):
107
  # check if 'outputs' dir exists and empty it if necessary
108
  check_outputs_folder('./outputs')