Spaces:
Sleeping
Sleeping
File size: 468 Bytes
5b9c451 701e4dd ba1808e 5b9c451 701e4dd 5b9c451 ae5cf03 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import gradio as gr
import os
a = os.path.join(os.path.dirname(__file__), "files/world.mp4") # Video
b = os.path.join(os.path.dirname(__file__), "files/a.mp4") # Video
c = os.path.join(os.path.dirname(__file__), "files/b.mp4") # Video
demo = gr.Interface(
fn=lambda x: x,
inputs=gr.Video(type="file"),
outputs=gr.Video(),
examples=[
[a],
[b],
[c],
],
)
if __name__ == "__main__":
demo.launch(enable_queue=False)
|