import gradio as gr gr.load( "models/microsoft/resnet-50", provider="hf-inference", ).launch()