fffiloni commited on
Commit
b7880b4
1 Parent(s): 97ce63c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def get_video_fps(video_path):
92
  return fps
93
 
94
  def load_examples(ref_image_in, ref_video_in):
95
- return "./examples/examples_result.mp4"
96
 
97
  def infer(ref_image_in, ref_video_in):
98
  # check if 'outputs' dir exists and empty it if necessary
@@ -191,6 +191,7 @@ with gr.Blocks() as demo:
191
  fn = load_examples,
192
  inputs = [ref_image_in, ref_video_in],
193
  outputs = [output_video],
 
194
  cache_examples = False
195
  )
196
  output_video.render()
 
92
  return fps
93
 
94
  def load_examples(ref_image_in, ref_video_in):
95
+ return "./examples/mimicmotion_result1_example.mp4"
96
 
97
  def infer(ref_image_in, ref_video_in):
98
  # check if 'outputs' dir exists and empty it if necessary
 
191
  fn = load_examples,
192
  inputs = [ref_image_in, ref_video_in],
193
  outputs = [output_video],
194
+ run_on_click = True,
195
  cache_examples = False
196
  )
197
  output_video.render()