From 4c8f9f58ad90cd780c7777c35bc65ce585847ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=92=E9=BE=8D=E8=81=96=E8=80=85=40bdsqlsz?= Date: Sat, 9 Dec 2023 20:05:25 +0800 Subject: [PATCH] Update gradio_animate.py --- demo/gradio_animate.py | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/demo/gradio_animate.py b/demo/gradio_animate.py index 4c825560..d8d09891 100644 --- a/demo/gradio_animate.py +++ b/demo/gradio_animate.py @@ -108,11 +108,26 @@ def read_image(image, size=512): gr.Markdown("## Examples") gr.Examples( examples=[ - ["inputs/applications/source_image/monalisa.png", "inputs/applications/driving/densepose/running.mp4"], - ["inputs/applications/source_image/demo4.png", "inputs/applications/driving/densepose/demo4.mp4"], - ["inputs/applications/source_image/dalle2.jpeg", "inputs/applications/driving/densepose/running2.mp4"], - ["inputs/applications/source_image/dalle8.jpeg", "inputs/applications/driving/densepose/dancing2.mp4"], - ["inputs/applications/source_image/multi1_source.png", "inputs/applications/driving/densepose/multi_dancing.mp4"], + [ + "inputs/applications/source_image/monalisa.png", + "inputs/applications/driving/densepose/running.mp4", + ], + [ + "inputs/applications/source_image/demo4.png", + "inputs/applications/driving/densepose/demo4.mp4", + ], + [ + "inputs/applications/source_image/dalle2.jpeg", + "inputs/applications/driving/densepose/running2.mp4", + ], + [ + "inputs/applications/source_image/dalle8.jpeg", + "inputs/applications/driving/densepose/dancing2.mp4", + ], + [ + "inputs/applications/source_image/multi1_source.png", + "inputs/applications/driving/densepose/multi_dancing.mp4", + ], ], inputs=[reference_image, motion_sequence], outputs=animation,