| # Import Library | |
| import gradio as gr | |
| # | |
| title = "My first Hugging Face Demo" | |
| # | |
| description = "This demo has been performed in order to achieved basic knowledge." | |
| # | |
| gr.Interface.load( | |
| "huggingface/microsoft/swin-tiny-patch4-window7-224", | |
| inputs=gr.Image(label="Upload an image right here: "), | |
| title = title, | |
| description = description | |
| ).launch() |