pimplesujal92/SPP
0
1import gradio as gr2 3def image_to_video(img):4 return "demo_video.mp4" # Replace with model output later5 6gr.Interface(7 fn=image_to_video,8 inputs=gr.Image(type="pil"),9 outputs=gr.Video()10).launch()1import gradio as gr2 3def image_to_video(img):4 return "demo_video.mp4" # Replace with model output later5 6gr.Interface(7 fn=image_to_video,8 inputs=gr.Image(type="pil"),9 outputs=gr.Video()10).launch()