import gradio as gr with gr.Blocks() as demo: with gr.Tab("Vision"): gr.Interface.load("models/google/vit-base-patch16-224", title="Vision Transformer").launch() demo.launch()