File size: 289 Bytes
e8e08a1
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr

title = "My first Demo with Hugging Face"
description = "This is a demo as a example"

gr.Interface.load(
    "huggingface/microsoft/swin-tiny-patch4-window7-224",
    inputs=gr.Image(label="Load an image here"),
    title=title,
    description=description
).launch()