import gradio as gr gr.Interface.load("models/nlpconnect/vit-gpt2-image-captioning").launch()