import gradio as gr def video_identity(video): return video # Create a Gradio Interface with a video input and output demo = gr.Interface( video_identity, gr.Video(), # Input component for uploading a video "playable_video" # Output component for displaying the video ) # Launch the Gradio app if __name__ == "__main__": demo.launch(show_error=True)