Spaces:
Sleeping
Sleeping
DAVID316GARCIA
commited on
Commit
·
445aa60
1
Parent(s):
03dc407
Subir demo
Browse files-Usar modelo de Microsoft
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
titulo='Mi primer demo con Hugging Face'
|
4 |
+
description='Este es un demo ejecutado durante la clase con Platzi'
|
5 |
+
|
6 |
+
gr.Interface.load(
|
7 |
+
'huggingface/microsoft/swin-tiny-patch4-window7-224',
|
8 |
+
input=gr.Image(label='Carga una imagen'),
|
9 |
+
title=titulo,
|
10 |
+
description=description
|
11 |
+
).launch()
|