import gradio as gr demo = gr.Interface( inputs=[gr.Image()], outputs="image", title="MaskFormer Demo" ) demo.launch()