gradio/demo/video_flip.py

12 lines
182 B
Python
Raw Normal View History

2021-01-28 08:16:35 +08:00
import gradio as gr
def video_flip(video):
2021-08-31 03:22:12 +08:00
return video
2021-01-28 08:16:35 +08:00
2021-08-31 03:22:12 +08:00
iface = gr.Interface(video_flip, gr.inputs.Video(type=None), "video")
2021-01-28 08:16:35 +08:00
if __name__ == "__main__":
iface.launch()