Spaces:
Paused
Paused
guardiancc
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def get_video_fps(video_path):
|
|
105 |
def load_examples(ref_image_in, ref_video_in):
|
106 |
return "./examples/mimicmotion_result1_example.mp4"
|
107 |
|
108 |
-
@spaces.GPU(duration=
|
109 |
def infer(ref_image_in, ref_video_in, num_inference_steps, guidance_scale, output_frames_per_second, seed, checkpoint_version):
|
110 |
# check if 'outputs' dir exists and empty it if necessary
|
111 |
check_outputs_folder('./outputs')
|
|
|
105 |
def load_examples(ref_image_in, ref_video_in):
|
106 |
return "./examples/mimicmotion_result1_example.mp4"
|
107 |
|
108 |
+
@spaces.GPU(duration=250)
|
109 |
def infer(ref_image_in, ref_video_in, num_inference_steps, guidance_scale, output_frames_per_second, seed, checkpoint_version):
|
110 |
# check if 'outputs' dir exists and empty it if necessary
|
111 |
check_outputs_folder('./outputs')
|