File size: 360 Bytes
60f742f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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()