Spaces:
Runtime error
Runtime error
franco1102
commited on
Commit
·
5ed2161
1
Parent(s):
b1b2304
added gr code
Browse files
app.py
CHANGED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
title = "Mi primer demo con Hugging Face"
|
4 |
+
description = "This is a Demo made with platzi classes"
|
5 |
+
|
6 |
+
gr.load(
|
7 |
+
"huggingface/microsoft/swin-tiny-patch4-window7-224",
|
8 |
+
inputs=gr.Image(label="Carga una imagen aquí"),
|
9 |
+
title = title,
|
10 |
+
description = description
|
11 |
+
).launch()
|