import gradio as gr gr.Interface.load("models/optimum/t5-small").launch()