import gradio as gr gr.Interface.load("models/nvidia/segformer-b0-finetuned-ade-512-512").launch()