EloiCampeny commited on
Commit
c77f3a2
1 Parent(s): 76c6b78

Subir demo de la clase de Platzi

Browse files

Usamos un modelo de Microsoft para clasificar imágenes.

Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ title = "My first demo with Hugging Face"
4
+ description = "This is a demo from a Platzi class"
5
+
6
+ gr.Interface.load(
7
+ "huggingface/microsoft/swin-tiny-patch4-window7-224",
8
+ inputs = gr.Image(label="Drop image here"),
9
+ title = title,
10
+ description = description
11
+ ).launch()