import gradio as gr title="Swin Transformer" description="Gradio Demo for Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below." article = "

Swin Transformer: Hierarchical Vision Transformer using Shifted Windows | Github Repo

" gr.Interface.load("huggingface/microsoft/swin-large-patch4-window12-384-in22k",examples=[["tiger.jpeg"]]).launch()