Spaces:
Sleeping
Sleeping
Subir demo
Browse files- Usar modelo de Microsoft
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
title = 'Mi Primer Demo con Hugging Face'
|
4 |
+
description = 'Este es un demo ejecutado durante la clase de platzi'
|
5 |
+
|
6 |
+
gr.Interface.load(
|
7 |
+
'huggingface/microsoft/swin-tiny-patch4-window7-224',
|
8 |
+
inputs=gr.Image(label=''),
|
9 |
+
title=title,
|
10 |
+
description=description
|
11 |
+
).launch()
|