File size: 523 Bytes
bd60378
 
e6d73c1
78272ae
bd60378
149a86b
1e5400a
6990b0a
f976e3b
82ba62a
 
bd60378
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr

def greet(img1, img2, video1):
    return video1

demo = gr.Interface(fn=greet, 
                    inputs=[gr.Image(type="filepath", label="Source Image"), gr.Image(type="filepath", label="Source Image"), gr.Video(label="Target Video")], 
                    outputs=gr.Video(label="Target Video"), 
                    #examples=[["27-24522.jpg", "28-24766.jpg"]],
                    examples=[["27-24522.jpg", "28-24766.jpg", "wizard.mp4"]],
                    cache_examples=True,)
demo.launch()