cbensimon HF staff commited on
Commit
907b1f8
1 Parent(s): 48b33ea
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ with gr.Blocks() as demo:
102
  # Examples
103
  gr.Markdown("## Examples")
104
  gr.Examples(
105
- fn=lambda image, sequence: cached_examples[(image, sequence)],
106
  examples=[list(key) for key in cached_examples],
107
  inputs=[reference_image, motion_sequence],
108
  outputs=animation,
 
102
  # Examples
103
  gr.Markdown("## Examples")
104
  gr.Examples(
105
+ fn=lambda image, video: cached_examples[(image['path'], video['video']['path'])],
106
  examples=[list(key) for key in cached_examples],
107
  inputs=[reference_image, motion_sequence],
108
  outputs=animation,