import gradio as gr gr.load( "models/microsoft/trocr-base-printed", provider="hf-inference", ).launch()