import torch import gradio as gr from demo_img import demo_img from demo_vid import demo_vid with gr.Blocks(css='style.css') as demo: gr.HTML( """

AMT: All-Pairs Multi-Field Transforms for Efficient Frame Interpolation

Zhen Li1*, Zuo-Liang Zhu1*, Ling-Hao Han1*, Qibin Hou1*, Chun-Le Guo1*, Ming-Ming Cheng1*,

1Nankai University * represents the equal contribution and # represents the corresponding author.

[arXiv] [GitHub]

""") with gr.Tab('Img2Vid'): demo_img() with gr.Tab('VFI'): demo_vid() demo.launch(debug=False)