import gradio as gr title = "My first demo with Hugging Face" description = "This is a demo from a Platzi class" gr.Interface.load( "huggingface/microsoft/swin-tiny-patch4-window7-224", inputs = gr.Image(label="Drop image here"), title = title, description = description ).launch()