espejelomar
commited on
Commit
•
4a9863b
1
Parent(s):
c11ab23
Create new file
Browse files
app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
title = "Platzi - Usando el ´microsoft/swin-tiny-patch4-window7-224´"
|
2 |
+
description = "Demo de Gradio creado en una clase de Platzi. Se utiliza un modelo Swin Transformer entrenado en ImageNet-1k a una resolución de 224x224. Fue presentado en el artículo Swin Transformer: Hierarchical Vision Transformer usando Shifted Windows por Liu et al."
|
3 |
+
|
4 |
+
gr.Interface.load(
|
5 |
+
"huggingface/microsoft/swin-tiny-patch4-window7-224",
|
6 |
+
inputs=gr.Image(label="Carga una imagen aquí."),
|
7 |
+
title=title,
|
8 |
+
description=description
|
9 |
+
).launch(enable_queue=True, share=True)
|