new-space / app.py
manojdahal191gom's picture
initial commit
5ab1008 verified
raw
history blame
374 Bytes
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)