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
1Nankai University * represents the equal contribution and # represents the corresponding author.
""")
with gr.Tab('Img2Vid'):
demo_img()
with gr.Tab('VFI'):
demo_vid()
demo.launch(debug=False)