mgutierrez's picture
My first demo
63055a9
import gradio as gr
title = "Mi first demo with hugging face"
description = "This is a demo executed during platzi class"
##gr.Interface.load( ## will be deprecated
gr.load(
"huggingface/microsoft/swin-tiny-patch4-window7-224", ## Hugging Id model
inputs=gr.Image(label="Upload an image here"),
title=title,
description=description
).launch()