import gradio as gr


def video_flip(video):
    return video


iface = gr.Interface(video_flip, gr.inputs.Video(source="webcam"), "playable_video")

if __name__ == "__main__":
    iface.launch()

import gradio as gr


def video_flip(video):
    return video


iface = gr.Interface(video_flip, gr.inputs.Video(source="webcam"), "playable_video")

if __name__ == "__main__":
    iface.launch()
