import gradio as gr iface = gr.Interface.load("huggingface/google/vit-base-patch16-224", ) iface.launch()