import gradio as gr title = "My first Gradio app in Hugging Face" description = "A simple app to show how to use Gradio for Platzi" gr.Interface.load( "huggingface/microsoft/swin-tiny-patch4-window7-224", inputs=gr.Image(label="Load an image"), title=title, description=description ).launch(debug=True)