Spaces:
Runtime error
Runtime error
Commit
·
3babb25
1
Parent(s):
4f0a37a
Fin!
Browse files
app.py
CHANGED
|
@@ -1,12 +1,7 @@
|
|
| 1 |
-
|
| 2 |
|
| 3 |
-
# Definiendo titulo y descripcion al modelo...
|
| 4 |
-
titulo = "Mi primer demo con Hugging Face"
|
| 5 |
-
descripcion = "Este es un demo ejecutado durante la clase con Platzi."
|
| 6 |
-
|
| 7 |
-
# Descargar el modelo desde HuggingFace...
|
| 8 |
gr.Interface.load(
|
| 9 |
-
"microsoft/swin-tiny-patch4-window7-224",
|
| 10 |
inputs=gr.Image(label="Carga una imagen aquí"),
|
| 11 |
title = titulo,
|
| 12 |
description = descripcion
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
gr.Interface.load(
|
| 4 |
+
"huggingface/microsoft/swin-tiny-patch4-window7-224",
|
| 5 |
inputs=gr.Image(label="Carga una imagen aquí"),
|
| 6 |
title = titulo,
|
| 7 |
description = descripcion
|