gradio/demo/video_flip.py
2021-01-27 16:16:35 -08:00

14 lines
196 B
Python

# Demo: (Video) -> (Image)
import gradio as gr
def video_flip(video):
return video[:-4]
iface = gr.Interface(video_flip, "video", "video")
if __name__ == "__main__":
iface.launch()